Skip to content

Commit

Permalink
fix(test): Make jest-preset to use setupFilesAfterEnv (#1545)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tallyb authored and manucorporat committed May 18, 2019
1 parent d253d9b commit 9f7041a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/packages/testing/jest-preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
"^@stencil/core/utils$": path.join(distDir, 'utils'),
"^@stencil/core$": path.join(distDir, 'testing', 'core')
},
setupTestFrameworkScriptFile: path.join(testingDir, 'jest-setuptestframework.js'),
setupFilesAfterEnv: [path.join(testingDir, 'jest-setuptestframework.js')],
testEnvironment: path.join(testingDir, 'jest-environment.js'),
testPathIgnorePatterns: [
'/.stencil',
Expand Down

0 comments on commit 9f7041a

Please sign in to comment.