thelounge/test/.mocharc.yml
Reto Brunner 646bafab99 mocha: move spec to invocation
If we specify the spec in the config file, we can't manually
specify a specific test file from the cli.

This is annoying, as the alternative is copying out the full
package.json blurb into the shell.

Rather, give the spec in the invocation and add a helper
that makes testing a specific file simple.

With this `yarn test:nospec test/plugins/link.ts` will only run
tests within that file
2024-01-27 15:34:13 +01:00

13 lines
249 B
YAML

color: true
check-leaks: true
recursive: true
reporter: dot
ignore: "test/client/**"
extension: ["ts", "js"]
require:
- "ts-node/register"
# - "jsdom-global/register"
- "test/fixtures/env.ts"
globals:
- "__VUE_PROD_DEVTOOLS__"
- "__VUE__"