spiegel-keyman/developer/src/kmc-kmn/test
Marc Durdin 529a49431e maint(developer): make TestCompilerCallbacks usage more consistent and simplify
Simplify usage of `TestCompilerCallbacks` by making it responsible for
the `beforeEach` and `afterEach` incantations itself. There are a couple
of more complex usages of `TestCompilerCallbacks` which have been
excluded from this change on purpose.

Renamed `testCallbacks` to `callbacks` in the one place where it was
different.

Hoist @types/node and @types/mocha because inconsistent versions of
@types/mocha were causing compiler errors with this change.

Also added a cast to `fs.readFileSync` to `Uint8Array` to eliminate
compiler warnings/errors in test files.

Fixes: #15654
Test-bot: skip
2026-03-03 16:44:06 +01:00
..
fixtures fix(developer): handle missing begin Unicode in KMW compiler 2025-10-23 15:08:12 +02:00
helpers chore(developer): verify kvks files and report errors 2023-06-01 05:02:26 +07:00
kmw maint(developer): make TestCompilerCallbacks usage more consistent and simplify 2026-03-03 16:44:06 +01:00
compiler.tests.ts maint(developer): make TestCompilerCallbacks usage more consistent and simplify 2026-03-03 16:44:06 +01:00
features.tests.ts maint(developer): make TestCompilerCallbacks usage more consistent and simplify 2026-03-03 16:44:06 +01:00
kmn-compiler-messages.tests.ts maint(developer): make TestCompilerCallbacks usage more consistent and simplify 2026-03-03 16:44:06 +01:00
README.md feat(developer): kmc-kmn tdd framework 2023-03-23 10:14:25 +07:00
tsconfig.json chore(developer): rename test files 2024-11-28 14:32:09 +01:00
wasm-uset.tests.ts maint(developer): make TestCompilerCallbacks usage more consistent and simplify 2026-03-03 16:44:06 +01:00

Keyman kmn Keyboard Compiler Tests

Test

../build.sh test