From 9f7041a58f0a113539ba15a52e9184578b052cc6 Mon Sep 17 00:00:00 2001 From: Tally Barak Date: Sat, 18 May 2019 18:30:14 +0300 Subject: [PATCH] fix(test): Make jest-preset to use setupFilesAfterEnv (#1545) --- scripts/packages/testing/jest-preset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/packages/testing/jest-preset.js b/scripts/packages/testing/jest-preset.js index 6cf140ac3c5..2fa6d88b0dc 100644 --- a/scripts/packages/testing/jest-preset.js +++ b/scripts/packages/testing/jest-preset.js @@ -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',