MCPcopy Create free account
hub / github.com/dfinity/orbit /

Class

apps/wallet/src/test.utils.ts:93–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
92export function mockFileReader(result: ArrayBuffer, errorOut: boolean = false): typeof FileReader {
93 return class MockFileReader {
94 result?: ArrayBuffer = result;
95 // eslint-disable-next-line @typescript-eslint/no-explicit-any
96 onload: any = null;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected