Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jestjs/jest
/ noAssertions
Function
noAssertions
e2e/failures/__tests__/assertionCount.test.js:20–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
18
};
19
20
const
noAssertions = () => {
21
expect.assertions(0);
22
expect(true).toBeTruthy();
23
};
24
25
const
hasNoAssertions = () => {
26
expect.hasAssertions();
Callers
nothing calls this directly
Calls
3
expect
Function · 0.85
assertions
Method · 0.80
toBeTruthy
Method · 0.80
Tested by
no test coverage detected