Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 8c27b44

Browse files
committed
fix(jest): jest 27 changed the default test environment to node
1 parent 7488aa2 commit 8c27b44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: packages/cna-template/template/frameworks/jest/jest.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,6 @@ module.exports = {
2323
collectCoverageFrom: [
2424
'<rootDir>/components/**/*.vue',
2525
'<rootDir>/pages/**/*.vue'
26-
]
26+
],
27+
testEnvironment: 'jsdom'
2728
}

0 commit comments

Comments
 (0)