Running tests
The subcommand yeet test is the test runner for the yeet JS environment. See Writing tests and the yeet.test reference.
yeet test [--fail-fast] [--filter <PATTERN>] [--jobs <N>] [PATHS]... [-- ARGS...]
Run yeet test --help for details and more options.
If no explicit PATH is set, yeet test runs on the current working directory. To run on a directory, yeet test looks for files matching the regex ^(.*[._])?test\.(js|mjs|jsx|ts|mts|tsx)$, skipping hidden directories and node_modules. A path to a file runs as given, whatever its name.
To provide a module to test via standard input, pass the path argument -.
yeet test exits 1 when a test fails, or when any test uses only.