MCPcopy
hub / github.com/visgl/deck.gl / expect

Function expect

scripts/write-heading-ids.ts:141–148  ·  view source on GitHub ↗
(value1: any, value2: any, message: string)

Source from the content-addressed store, hash-verified

139/* Test utils */
140
141function expect(value1: any, value2: any, message: string) {
142 if (value1 === value2) {
143 console.log('Ok', message, value2 || '');
144 } else {
145 console.log('Not ok', message);
146 throw new Error(`Expect ${value2}, got ${value1}`);
147 }
148}

Calls

no outgoing calls

Tested by 15

drawPickTestFunction · 0.68
onCompleteFunction · 0.68
assertFunction · 0.68
validateShaderAttributesFunction · 0.68
onAfterUpdateFunction · 0.68
onErrorFunction · 0.68
assertIconFrameFunction · 0.68
onAfterUpdateFunction · 0.68
onAfterUpdateFunction · 0.68
onAfterUpdateFunction · 0.68
onAfterUpdateFunction · 0.68
onAfterUpdateFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…