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

False positives for prefer-to-be-undefined #28

Closed
alexlrobertson opened this issue Dec 4, 2017 · 0 comments
Closed

False positives for prefer-to-be-undefined #28

alexlrobertson opened this issue Dec 4, 2017 · 0 comments

Comments

@alexlrobertson
Copy link

test('it should work', () => {
    const foo = {};

    expect(foo).toEqual({});
});

I'm getting false positives for expectations that compare to object and array literals.

xfumihiro added a commit to xfumihiro/eslint-plugin-jest that referenced this issue Dec 5, 2017
xfumihiro added a commit to xfumihiro/eslint-plugin-jest that referenced this issue Dec 5, 2017
SimenB pushed a commit to xfumihiro/eslint-plugin-jest that referenced this issue Dec 5, 2017
SimenB pushed a commit that referenced this issue Dec 5, 2017
@SimenB SimenB closed this as completed in 2879920 Dec 5, 2017
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

No branches or pull requests

1 participant