Skip to content

Commit

Permalink
Resolve issue SonarSource#4507
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmorand-sonarsource committed Mar 26, 2024
1 parent 201cf01 commit 2ae3754
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/jsts/src/rules/S2699/vitest.fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@ describe('vitest test cases', () => {
expect(1).toEqual(2);
}
});

describe.concurrent('vitest concurrent test cases', () => {
it('recognizes global expect as an assertion', async ({ expect }) => {
expect(5).toEqual(5);
});
});

0 comments on commit 2ae3754

Please sign in to comment.