Skip to content

Commit 1453873

Browse files
committed
test: use same jest config
1 parent 8450f01 commit 1453873

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/@posva/vuefire-core/jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ module.exports = {
33
collectCoverage: true,
44
collectCoverageFrom: ['<rootDir>/src/**/*.ts'],
55
testMatch: ['<rootDir>/__tests__/**/*.spec.ts'],
6+
moduleFileExtensions: ['js', 'ts', 'd.ts'],
67
testEnvironment: 'node',
7-
testURL: 'http://localhost/',
88
globals: {
99
'ts-jest': {
1010
diagnostics: {
1111
warnOnly: true,
1212
},
1313
},
1414
},
15+
testURL: 'http://localhost/',
1516
}

packages/vuexfire/jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
collectCoverage: true,
44
collectCoverageFrom: ['<rootDir>/src/**/*.ts'],
55
testMatch: ['<rootDir>/__tests__/**/*.spec.ts'],
6+
moduleFileExtensions: ['js', 'ts', 'd.ts'],
67
testEnvironment: 'node',
78
globals: {
89
'ts-jest': {

0 commit comments

Comments
 (0)