Skip to content

Commit 9f7041a

Browse files
Tallybmanucorporat
authored andcommitted
fix(test): Make jest-preset to use setupFilesAfterEnv (#1545)
1 parent d253d9b commit 9f7041a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/packages/testing/jest-preset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
"^@stencil/core/utils$": path.join(distDir, 'utils'),
2424
"^@stencil/core$": path.join(distDir, 'testing', 'core')
2525
},
26-
setupTestFrameworkScriptFile: path.join(testingDir, 'jest-setuptestframework.js'),
26+
setupFilesAfterEnv: [path.join(testingDir, 'jest-setuptestframework.js')],
2727
testEnvironment: path.join(testingDir, 'jest-environment.js'),
2828
testPathIgnorePatterns: [
2929
'/.stencil',

0 commit comments

Comments
 (0)