esdev test

Find and run test files with the assertion vocabulary provided by runtime:test. Both .test. and .spec. files are discovered in the supported JavaScript and TypeScript extensions.

Shell
esdev test                    # every *.test.* and *.spec.*
esdev test math               # ...whose path contains "math"
esdev test --file=x.test.ts   # exactly one file

Test guide

Exits non-zero if any file fails.

Last updated on
Edit this page