Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update snapshot
  • Loading branch information
ematipico committed Oct 20, 2025
commit cec95530d04046acbf5e92344cc776160065c9e9
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test1.js:1:10 lint/suspicious/noFocusedTests FIXABLE ━━━━━━━━
```block
test2.js:4:5 lint/suspicious/noDuplicateTestHooks ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

× Disallow duplicate setup and teardown hooks.
× The test hook beforeEach is used multiple times in the same test block.

2 │ describe("foo", () => {
3 │ beforeEach(() => {});
Expand All @@ -83,7 +83,7 @@ test2.js:4:5 lint/suspicious/noDuplicateTestHooks ━━━━━━━━━━
5 │ test("bar", () => {
6 │ someFn();

i Disallow beforeEach duplicacy inside the describe function.
i The presence of the same hook more than once in the same test block can create unexpected errors inside tests. Remove one of them.


```
Expand Down
Loading