Skip to content

Commit

Permalink
Upgrade to latest Jest, with security fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed Feb 7, 2019
1 parent a0c944a commit 4902be5
Show file tree
Hide file tree
Showing 4 changed files with 7,494 additions and 6,634 deletions.
9 changes: 8 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,14 @@
"env": {
"test": {
"presets": [
"@babel/preset-env",
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
],
"@babel/preset-react",
"@babel/preset-flow"
]
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ module.exports = {
coveragePathIgnorePatterns: ["<rootDir>/tests", "/examples/"],
snapshotSerializers: ["enzyme-to-json/serializer"],
setupFiles: ["<rootDir>/tests/polyfills.js"],
setupTestFrameworkScriptFile: "<rootDir>/tests/setupTest.js",
setupFilesAfterEnv: ["<rootDir>/tests/setupTest.js"],
};
Loading

0 comments on commit 4902be5

Please sign in to comment.