MCPcopy
hub / github.com/jestjs/jest / redeclare

Function redeclare

e2e/failures/__tests__/assertionCount.test.js:14–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 expect(false).toBeTruthy();
13};
14const redeclare = () => {
15 expect.assertions(1);
16 expect(false).toBeTruthy();
17 expect.assertions(2);
18};
19
20const noAssertions = () => {
21 expect.assertions(0);

Callers

nothing calls this directly

Calls 3

expectFunction · 0.85
assertionsMethod · 0.80
toBeTruthyMethod · 0.80

Tested by

no test coverage detected