MCPcopy Create free account
hub / github.com/denoland/std / assertNoError

Function assertNoError

testing/snapshot_test.ts:375–379  ·  view source on GitHub ↗
(error: string)

Source from the content-addressed store, hash-verified

373 }
374
375 function assertNoError(error: string) {
376 if (formatTestError(error)) {
377 throw new AssertionError(`Unexpected Error:\n\n${error}\n`);
378 }
379 }
380
381 /**
382 * New snapshot

Callers 1

snapshot_test.tsFile · 0.85

Calls 1

formatTestErrorFunction · 0.85

Tested by

no test coverage detected