MCPcopy
hub / github.com/felixrieseberg/windows95 / ok

Function ok

src/renderer/smb/test-standalone.ts:15–18  ·  view source on GitHub ↗
(cond: boolean, msg: string)

Source from the content-addressed store, hash-verified

13
14let pass = 0, fail = 0;
15const ok = (cond: boolean, msg: string) => {
16 if (cond) { pass++; console.log(" ✓", msg); }
17 else { fail++; console.log(" ✗", msg); }
18};
19
20// @ts-ignore — kept for debugging when tests fail
21const hex = (b: Uint8Array, n = 32) =>

Callers 1

test-standalone.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected