From a1e8a9f7080e2c35ce63363024406b903ebf4ce4 Mon Sep 17 00:00:00 2001 From: Eric MORAND Date: Tue, 26 Mar 2024 17:07:12 +0100 Subject: [PATCH] Resolve issue #4507 --- packages/jsts/src/rules/S2699/vitest.fixture.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/jsts/src/rules/S2699/vitest.fixture.js b/packages/jsts/src/rules/S2699/vitest.fixture.js index b2f536c3280..97e8fa89069 100644 --- a/packages/jsts/src/rules/S2699/vitest.fixture.js +++ b/packages/jsts/src/rules/S2699/vitest.fixture.js @@ -27,3 +27,11 @@ 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); + }); +}); + +