Skip to content
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

Closed

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Mar 16, 2020

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.

@vercel
Copy link

vercel bot commented Mar 16, 2020

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click on the icon next to each commit.

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.
@@ -260,24 +259,4 @@ describe('api', function() {
);
});
});

describe('Sentry reporting', function() {
beforeEach(function() {
Copy link
Member Author

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();
Copy link
Member Author

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

@evanpurkhiser
Copy link
Member

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
Copy link
Member Author

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 :(

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@billyvg
Copy link
Member Author

billyvg commented Mar 17, 2020

Going to gather more data before trying to get this merged. There are a variety of performance issues.

See:

@BYK
Copy link
Member

BYK commented Oct 29, 2020

Closing due to staleness and conflicts.

@BYK BYK closed this Oct 29, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants