MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / assert

Function assert

tools/testmc/main.js:248–250  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

246export default function() {
247 const former = globalThis.assert;
248 function assert(...args) {
249 former(...args);
250 }
251 Object.setPrototypeOf(assert, former);
252 globalThis.assert = assert;
253 $MAIN();

Callers 15

connectedFunction · 0.70
reduce_rationalFunction · 0.50
scale_rationalFunction · 0.50
III_huffdecodeFunction · 0.50
mad_layer_IIIFunction · 0.50
appendBitsToBufferFunction · 0.50
appendErrorCorrectionFunction · 0.50
getNumDataCodewordsFunction · 0.50
getNumRawDataModulesFunction · 0.50
calcReedSolomonGeneratorFunction · 0.50
calcReedSolomonRemainderFunction · 0.50
drawWhiteFunctionModulesFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected