Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 140
Update dependencies to their latest#373
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
c772dada4408a0b55193e12311f3818923adaac35387da6f9794c4c691d138461fc4267faa5adea4e4097044b0092e97f45f96de83f3d5780617ac63c74f5f3be3ba57533e1eFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,14 @@ | ||
| { | ||
| "presets": ["env", "react"], | ||
| "presets": ["@babel/preset-env", "@babel/preset-react"], | ||
| "env": { | ||
| "production": { | ||
| "plugins": ["transform-object-rest-spread", "styled-jsx/babel"] | ||
| "plugins": ["@babel/plugin-proposal-object-rest-spread", "styled-jsx/babel"] | ||
| }, | ||
| "development": { | ||
| "plugins": ["transform-object-rest-spread", "styled-jsx/babel"] | ||
| "plugins": ["@babel/plugin-proposal-object-rest-spread", "styled-jsx/babel"] | ||
| }, | ||
| "test": { | ||
| "plugins": ["transform-object-rest-spread", "styled-jsx/babel-test"] | ||
| "plugins": ["@babel/plugin-proposal-object-rest-spread", "styled-jsx/babel-test"] | ||
| } | ||
| } | ||
| } |
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| __version__ = '0.38.1' | ||
| __version__ = '0.39.0' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -107,15 +107,15 @@ module.exports = { | ||
| // rootDir: null, | ||
| // A list of paths to directories that Jest should use to search for files in | ||
| // roots: [ | ||
| // "<rootDir>" | ||
| // ], | ||
| roots: [ | ||
| "<rootDir>/test/unit" | ||
| ], | ||
| // Allows you to use a custom runner instead of Jest's default test runner | ||
| // runner: "jest-runner", | ||
| // The paths to modules that run some code to configure or set up the testing environment before each test | ||
| // setupFiles: [], | ||
| setupFiles: ['<rootDir>/test/setupTests.js'], | ||
ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Jest and Enzyme updates now require us to specify a React adapter to use - so we create this | ||
| // The path to a module that runs some code to configure or set up the testing framework before each test | ||
| // setupTestFrameworkScriptFile: null, | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't want to look in other folders for JS tests - specifically the new
setupTests.jsfile shouldn't be run as a unit test with Jest.