Skip to content

Commit 6cf1fc2

Browse files
committed
Fix an eslint issue about avoid calling expect inside conditional statements
1 parent e279397 commit 6cf1fc2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/regex.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,8 @@ describe("remark-flexigraph regex tests", () => {
370370
},
371371
];
372372

373+
/* eslint-disable vitest/no-conditional-expect */
374+
373375
fixtures.forEach((fixture) => {
374376
// console.log(fixture.input);
375377

@@ -391,5 +393,7 @@ describe("remark-flexigraph regex tests", () => {
391393
expect(right).toBe(fixture.expect?.right);
392394
}
393395
});
396+
397+
/* eslint-enable vitest/no-conditional-expect */
394398
});
395399
});

0 commit comments

Comments
 (0)