mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-13 01:17:29 +00:00
The boilerplate code for custom lexical models has never really been tested. For use in a browser/worker context, we need to define `exports`. The added unit test verifies that the model will build. Test-bot: skip Cherry-pick-of: #15777 |
||
|---|---|---|
| .. | ||
| fixtures | ||
| helpers | ||
| compile-model-with-pseudoclosure.tests.ts | ||
| compile-model.tests.ts | ||
| compile-trie.tests.ts | ||
| default-apply-case.tests.ts | ||
| default-search-term-to-key.tests.ts | ||
| join-word-breaker.tests.ts | ||
| messages.tests.ts | ||
| model-definitions.tests.ts | ||
| override-script-defaults.tests.ts | ||
| parse-wordlist.tests.ts | ||
| punctuation.tests.ts | ||
| README.md | ||
| tsconfig.json | ||
Lexical Model and Package Compiler
Build
npm run build
Test
npm test
NOTE: ensure you run npm run build before running the tests!