We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug new-line-before-expect doesn't see preceding expect if it's in a multiple case.
i.e this fails (on the last line):
expect("foo").toEqual("foo"); expect("foo").toEqual( "foo" ); expect("foo").toEqual("foo");
This does not
expect("foo").toEqual("foo"); expect("foo").toEqual("foo"); expect("foo").toEqual("foo");
To Reproduce
Steps to reproduce the behaviour
describe('the bug', () => { it('happens', () => { expect('foo').toEqual('foo'); expect('foo').toEqual('foo'); expect('foo').toEqual('foo'); }); });
Expected behaviour
That it wouldn't fail
Context
The text was updated successfully, but these errors were encountered:
This might be related, but I have some code where I expected errors in a few place but I only get one error unless I put a line between then.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
new-line-before-expect doesn't see preceding expect if it's in a multiple case.
i.e this fails (on the last line):
This does not
To Reproduce
Expected behaviour
That it wouldn't fail
Context
The text was updated successfully, but these errors were encountered: