---
source: crates/oxc_linter/src/tester.rs
---
  ⚠ eslint-plugin-jest(max-expects): Enforces a maximum number assertion calls in a test body.
   ╭─[max_expects.tsx:8:21]
 7 │                     expect(true).toBeDefined();
 8 │                     expect(true).toBeDefined();
   ·                     ──────
 9 │                 });
   ╰────
  help: Too many assertion calls (6) - maximum allowed is 5

  ⚠ eslint-plugin-jest(max-expects): Enforces a maximum number assertion calls in a test body.
   ╭─[max_expects.tsx:8:21]
 7 │                     expect(true).toBeDefined();
 8 │                     expect(true).toBeDefined();
   ·                     ──────
 9 │                 });
   ╰────
  help: Too many assertion calls (6) - maximum allowed is 5

  ⚠ eslint-plugin-jest(max-expects): Enforces a maximum number assertion calls in a test body.
   ╭─[max_expects.tsx:8:21]
 7 │                     expect(true).toBeDefined();
 8 │                     expect(true).toBeDefined();
   ·                     ──────
 9 │                 });
   ╰────
  help: Too many assertion calls (6) - maximum allowed is 5

  ⚠ eslint-plugin-jest(max-expects): Enforces a maximum number assertion calls in a test body.
   ╭─[max_expects.tsx:8:21]
 7 │                     expect(true).toBeDefined();
 8 │                     expect(true).toBeDefined();
   ·                     ──────
 9 │                 });
   ╰────
  help: Too many assertion calls (6) - maximum allowed is 5

  ⚠ eslint-plugin-jest(max-expects): Enforces a maximum number assertion calls in a test body.
   ╭─[max_expects.tsx:8:21]
 7 │                     expect(true).toBeDefined();
 8 │                     expect(true).toBeDefined();
   ·                     ──────
 9 │                 });
   ╰────
  help: Too many assertion calls (6) - maximum allowed is 5

  ⚠ eslint-plugin-jest(max-expects): Enforces a maximum number assertion calls in a test body.
    ╭─[max_expects.tsx:16:21]
 15 │                     expect(true).toBeDefined();
 16 │                     expect(true).toBeDefined();
    ·                     ──────
 17 │                 });
    ╰────
  help: Too many assertion calls (6) - maximum allowed is 5

  ⚠ eslint-plugin-jest(max-expects): Enforces a maximum number assertion calls in a test body.
    ╭─[max_expects.tsx:9:25]
  8 │                         expect(true).toBeDefined();
  9 │                         expect(true).toBeDefined();
    ·                         ──────
 10 │                     });
    ╰────
  help: Too many assertion calls (6) - maximum allowed is 5

  ⚠ eslint-plugin-jest(max-expects): Enforces a maximum number assertion calls in a test body.
   ╭─[max_expects.tsx:8:21]
 7 │                     expect(true).toBeDefined();
 8 │                     expect(true).toBeDefined();
   ·                     ──────
 9 │                 });
   ╰────
  help: Too many assertion calls (6) - maximum allowed is 5

  ⚠ eslint-plugin-jest(max-expects): Enforces a maximum number assertion calls in a test body.
   ╭─[max_expects.tsx:4:21]
 3 │                     expect(true).toBeDefined();
 4 │                     expect(true).toBeDefined();
   ·                     ──────
 5 │                 });
   ╰────
  help: Too many assertion calls (2) - maximum allowed is 1
