-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(jest): Use jest-circus
as test runner
#17681
build(jest): Use jest-circus
as test runner
#17681
Conversation
This pull request is being automatically deployed with ZEIT Now (learn more). |
This is the next-gen test runner for jest. It provides an event handler so that we can add apm to our test suite. See https://github.com/facebook/jest/tree/master/packages/jest-circus for more information.
24acb72
to
fe14dda
Compare
@@ -260,24 +259,4 @@ describe('api', function() { | |||
); | |||
}); | |||
}); | |||
|
|||
describe('Sentry reporting', function() { | |||
beforeEach(function() { |
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.
Empty beforeEach that does nothing.
@@ -58,11 +63,6 @@ describe('ProjectPluginDetails', function() { | |||
); | |||
}); | |||
|
|||
afterAll(function() { | |||
// eslint-disable-next-line no-console | |||
console.info.restore(); |
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.
restore
is not a valid jest mock fn fn
Whoa this is cool af |
.travis.yml
Outdated
@@ -34,7 +34,7 @@ env: | |||
- DJANGO_VERSION=">=1.11,<1.12" | |||
# node's version is pinned by .nvmrc and is autodetected by `nvm install`. | |||
- NODE_DIR="${HOME}/.nvm/versions/node/v$(< .nvmrc)" | |||
- NODE_OPTIONS=--max-old-space-size=4096 | |||
- NODE_OPTIONS=--max-old-space-size=6144 |
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.
circus seems to require for memory :(
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.
See jestjs/jest#8816
Going to gather more data before trying to get this merged. There are a variety of performance issues. See: |
Closing due to staleness and conflicts. |
This is the next-gen test runner for jest. It provides an event handler so that we can add apm to our test suite.
See https://github.com/facebook/jest/tree/master/packages/jest-circus for more information.