IF Commons GitHub

check

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0001-kanon-checker FR-007

The command a library that declares kanon runs in its verify (commons 0033-kanon FR-014): the import check over its own table, from its folder.

bun ../kanon/src/check.ts check the library in the working folder; exit 1 on a finding the baseline does not hold, or a line of it that no longer occurs bun ../kanon/src/check.ts --root DIR the library's folder bun ../kanon/src/check.ts --write-baseline hold what is found now in kanon.baseline.txt (the first time only)

Exit status: 0 where nothing is new or stale, 1 where something is, 2 where the table cannot be read.

Source: commons/kanon/src/check.ts

1 of 1 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

runfunction
function run(root: string, argv: readonly string[]): { readonly code: 0 | 1 | 2; readonly lines: readonly string[]; }

Run the check over root; the lines to print and the exit status.

Imported by 6 tests of the run (6 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.