Skip to content

Commit

Permalink
moved 'setupTestFrameworkScriptFile' -> 'setupFilesAfterEnv' in jest.…
Browse files Browse the repository at this point in the history
…config.js to comply with deprecation warnings
  • Loading branch information
dfee committed Feb 11, 2019
1 parent bce75a5 commit ac2ccbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
},
rootDir: ".",
setupFiles: ["raf/polyfill"],
setupTestFrameworkScriptFile: "./src/__tests__/setup.ts",
setupFilesAfterEnv: ["./src/__tests__/setup.ts"],
testMatch: ["**/*.test.ts", "**/*.test.tsx"],
testPathIgnorePatterns: ["/node_modules/", "/examples/"],
transform: { ".(ts|tsx)": "ts-jest" },
Expand Down

0 comments on commit ac2ccbd

Please sign in to comment.