(actual, expected, msg)
| 9 | const encoder = new TextEncoder() |
| 10 | |
| 11 | const eq = (actual, expected, msg) => { |
| 12 | if (actual !== expected) { |
| 13 | throw new Error(`${msg || 'eq'}: expected ${JSON.stringify(expected)}, got ${JSON.stringify(actual)}`) |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | const deepEq = (actual, expected, msg) => { |
| 18 | if (JSON.stringify(actual) !== JSON.stringify(expected)) { |
no outgoing calls
no test coverage detected