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

Blank line before expect #121

Open
alina-kala4ik opened this issue Dec 29, 2023 · 0 comments
Open

Blank line before expect #121

alina-kala4ik opened this issue Dec 29, 2023 · 0 comments
Assignees

Comments

@alina-kala4ik
Copy link

alina-kala4ik commented Dec 29, 2023

Blank line before expect or block of expects

Valid code example:

  it("test name", () => {
    const someVariable = "...";

    expect(someVariable).toBe(2);
    expect(someVariable).toBe(1);
  })

Invalid code example:

    it('test name', () => {
        const someVariable = '...';
        expect(someVariable).toBe('');
        expect(someVariable).toBe('');
    });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants