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

fix to run all tests in ShallowWrapper-spec.jsx #1741

Merged
merged 1 commit into from
Aug 9, 2018

Conversation

koba04
Copy link
Contributor

@koba04 koba04 commented Aug 9, 2018

Currently, the other tests except merging props don't run by npm run test:only.
I guess that describe.only intend to avoid failing by should call componentWillReceiveProps for new renders so I've skiped the test.

https://travis-ci.org/airbnb/enzyme/jobs/413839140

@@ -1330,7 +1330,7 @@ describe('shallow', () => {
expect(wrapper.find('.bar')).to.have.lengthOf(1);
});

describe.only('merging props', () => {
Copy link
Member

Choose a reason for hiding this comment

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

whoops, thanks :-D

@@ -1468,7 +1468,7 @@ describe('shallow', () => {
});
});

it('should call componentWillReceiveProps for new renders', () => {
it.skip('should call componentWillReceiveProps for new renders', () => {
Copy link
Member

Choose a reason for hiding this comment

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

this should be passing :-/ i'll look into it

@ljharb
Copy link
Member

ljharb commented Aug 9, 2018

I was able to unskip that test, and everything still passes.

@ljharb ljharb merged commit 18616fd into enzymejs:master Aug 9, 2018
@koba04
Copy link
Contributor Author

koba04 commented Aug 9, 2018

Thanks!

@koba04 koba04 deleted the run-all-tests branch August 9, 2018 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants