spiegel-keyman/web/.mocharc.json
Eberhard Beilharz 95f36acb68
chore(web): allow to run unit tests in vscode test explorer
#11746 removed the `ts-node` dependency. Unfortunately that broke running
TypeScript test files with Mocha in VSCode Test Explorer because it no
longer knows what to do with .ts files. This change adds the more modern
`tsx` package as developer dependency, which allows to use Test Explorer
again.

See https://stackoverflow.com/a/77609121.
2024-09-11 19:28:33 +02:00

4 lines
81 B
JSON

{
"$schema": "https://json.schemastore.org/mocharc.json",
"require": "tsx"
}