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

Update to Jest 12. Codemod to new Jest APIs. #6620

Merged
merged 1 commit into from
Apr 28, 2016
Merged

Conversation

cpojer
Copy link
Contributor

@cpojer cpojer commented Apr 26, 2016

There is one test failing right now. Pretty sure it is because we updated to jsdom 8. Will look into this tomorrow unless anyone has some ideas – seems like the multiple defaultValues test is failing in ReactDOMSelect – is this a bug in React or jsdom?

@jimfb
Copy link
Contributor

jimfb commented Apr 26, 2016

The unit test expectation matches what the browser does, so it looks like a jsdom bug.

@zpao
Copy link
Member

zpao commented Apr 26, 2016

This is just the jest update, not the Jasmine 2 update correct?

@cpojer
Copy link
Contributor Author

cpojer commented Apr 27, 2016

yes.

Waiting for the jsdom fix here: jsdom/jsdom@236caae

@cpojer cpojer changed the title Update to Jest 11. Codemod to new Jest APIs. Update to Jest 12. Codemod to new Jest APIs. Apr 28, 2016
@ghost
Copy link

ghost commented Apr 28, 2016

@cpojer updated the pull request.

@facebook-github-bot
Copy link

@cpojer updated the pull request.

@ghost
Copy link

ghost commented Apr 28, 2016

@cpojer updated the pull request.

@cpojer cpojer force-pushed the master branch 2 times, most recently from 7b190ad to 9fe5895 Compare April 28, 2016 05:48
@@ -77,7 +77,7 @@ function writeTempConfig(callback) {
function run(done, configPath) {
grunt.log.writeln('running jest (this may take a while)');

var args = ['--harmony', path.join('node_modules', 'jest-cli', 'bin', 'jest')];
var args = ['--harmony', path.join('node_modules', 'jest-cli', 'bin', 'jest'), '--runInBand'];
Copy link
Contributor Author

Choose a reason for hiding this comment

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

cc @zpao @gaearon I'm gonna ship this with --runInBand – it should avoid the failures on travis you guys have been seeing. Let me know if you have any trouble with this.

@ghost
Copy link

ghost commented Apr 28, 2016

@cpojer updated the pull request.

@cpojer cpojer merged commit d07b554 into facebook:master Apr 28, 2016
@keyz keyz mentioned this pull request May 6, 2016
@zpao zpao modified the milestones: 15.y.0, 15.1.0 May 10, 2016
zpao pushed a commit that referenced this pull request May 10, 2016
Update to Jest 12. Codemod to new Jest APIs.
(cherry picked from commit d07b554)
@zpao zpao modified the milestones: 15.1.0, 15.y.0 May 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants