(result: ExtractionResult)
| 363 | }); |
| 364 | |
| 365 | const canon = (result: ExtractionResult) => ({ |
| 366 | nodes: result.nodes.map(({ updatedAt: _u, ...n }) => JSON.stringify(n, Object.keys(n).sort())).sort(), |
| 367 | edges: result.edges.map((e) => JSON.stringify(e, Object.keys(e).sort())).sort(), |
| 368 | refs: result.unresolvedReferences.map((r) => JSON.stringify(r, Object.keys(r).sort())).sort(), |
| 369 | }); |
| 370 | |
| 371 | it.each(Object.keys(SHAPES))('%s: the kernel walks the same scopes as the wasm walker', (file) => { |
| 372 | for (const eol of ['\n', '\r\n']) { |
no test coverage detected