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

Method hasFailed

packages/jest-test-sequencer/src/index.ts:246–249  ·  view source on GitHub ↗
(test: Test)

Source from the content-addressed store, hash-verified

244 }
245
246 private hasFailed(test: Test) {
247 const cache = this._getCache(test);
248 return cache[test.path]?.[0] === FAIL;
249 }
250
251 private time(test: Test) {
252 const cache = this._getCache(test);

Callers 2

sortMethod · 0.95
allFailedTestsMethod · 0.95

Calls 1

_getCacheMethod · 0.95

Tested by

no test coverage detected