mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-16 02:47:31 +00:00
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 |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| kmw | ||
| compiler.tests.ts | ||
| features.tests.ts | ||
| kmn-compiler-messages.tests.ts | ||
| README.md | ||
| tsconfig.json | ||
| wasm-uset.tests.ts | ||
Keyman kmn Keyboard Compiler Tests
Test
../build.sh test