spiegel-keyman/developer/src/kmc-model/test
Marc Durdin 8a4c005d40 chore(common): define constants for file types
Now that we have the file type detection in place, we can replace
existing references to the file extensions, where possible, with the
constant declarations. While we could rely on TypeScript's typing to use
string-based values, this helps us to avoid using file extensions
directly in string transforms, regex, etc, and use the `KeymanFileTypes`
alias instead.

Note that only references in common/web, and kmc-* projects have been
touched. References in other Developer projects have not been touched,
as some of those are not yet ESM, so that needs to be addressed first.
2023-06-12 09:17:09 +07:00
..
fixtures feat(developer): support FollowKeyboardVersion in kmc-package 2023-04-21 14:04:06 +07:00
helpers refactor(developer): kmc-model to use CompilerEvent 2023-04-20 16:40:04 +07:00
wordbreakers chore(developer): fixup tests for kmlmc, kmlmp 2022-09-19 06:37:30 +10:00
README.md refactor(developer): split kmlmc into kmc-model, kmc-model-info, kmc-package 2022-09-19 06:30:50 +10:00
test-compile-model-with-pseudoclosure.ts refactor(developer): split kmlmc into kmc-model, kmc-model-info, kmc-package 2022-09-19 06:30:50 +10:00
test-compile-model.ts chore(common): define constants for file types 2023-06-12 09:17:09 +07:00
test-compile-trie.ts refactor(developer): kmc-model to use CompilerEvent 2023-04-20 16:40:04 +07:00
test-default-apply-case.ts refactor(developer): split kmlmc into kmc-model, kmc-model-info, kmc-package 2022-09-19 06:30:50 +10:00
test-default-search-term-to-key.ts refactor(developer): split kmlmc into kmc-model, kmc-model-info, kmc-package 2022-09-19 06:30:50 +10:00
test-join-word-breaker.ts refactor(developer): split kmlmc into kmc-model, kmc-model-info, kmc-package 2022-09-19 06:30:50 +10:00
test-messages.ts chore(developer): test message correctness in compiler modules 2023-04-25 07:51:07 +07:00
test-model-definitions.ts Merge remote-tracking branch 'origin/master' into chore/core/mergemaster4-epic-ldml 2022-12-15 17:55:13 -06:00
test-override-script-defaults.ts refactor(developer): split kmlmc into kmc-model, kmc-model-info, kmc-package 2022-09-19 06:30:50 +10:00
test-parse-wordlist.ts refactor(developer): kmc-model to use CompilerEvent 2023-04-20 16:40:04 +07:00
test-punctuation.ts refactor(developer): split kmlmc into kmc-model, kmc-model-info, kmc-package 2022-09-19 06:30:50 +10:00
tsconfig.json chore(developer): fixup deps for kmc modules 2023-04-24 09:01:29 +07:00

Lexical Model and Package Compiler

Build

npm run build

Test

npm test

NOTE: ensure you run npm run build before running the tests!