Skip to content

Commit 5723837

Browse files
authored
chore: swap jsdom for happy-dom (#138)
1 parent 56f1af7 commit 5723837

File tree

7 files changed

+105
-44
lines changed

7 files changed

+105
-44
lines changed

app/components/RequestForm.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @vitest-environment jsdom
2+
* @vitest-environment happy-dom
33
*/
44
import { describe, it, expect } from 'vitest'
55
import { mount } from '@vue/test-utils'

app/components/RunDisplay.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @vitest-environment jsdom
2+
* @vitest-environment happy-dom
33
*/
44
import { describe, it, expect, vi } from 'vitest'
55
import { mount } from '@vue/test-utils'

app/components/RunPanel.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @vitest-environment jsdom
2+
* @vitest-environment happy-dom
33
*/
44
import { describe, it, expect, vi } from 'vitest'
55
import { mount } from '@vue/test-utils'

app/composables/useDataHover.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @vitest-environment jsdom
2+
* @vitest-environment happy-dom
33
*/
44
import { describe, it, expect } from 'vitest'
55
import { useDataHover } from './useDataHover'

app/composables/useRunManager.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @vitest-environment jsdom
2+
* @vitest-environment happy-dom
33
*/
44
import { describe, it, expect, vi, beforeEach } from 'vitest'
55
import { useRunManager } from './useRunManager'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"@e18e/eslint-plugin": "^0.2.0",
3232
"@nuxt/test-utils": "^4.0.0",
3333
"@vue/test-utils": "^2.4.6",
34-
"jsdom": "^27.0.0",
34+
"happy-dom": "^20.6.2",
3535
"typescript": "^5.6.2",
3636
"vitest": "^4.0.18",
3737
"vue-tsc": "^3.2.4"

0 commit comments

Comments
 (0)