test.todo function. An implementation isn’t required.
The
bun test output reports the number of todo tests.
terminal
You can provide a test implementation.
Bun doesn’t run the implementation unless you pass the
--todo flag. With --todo, the test runs and is expected to fail. If a todo test passes, bun test returns a non-zero exit code.
terminal
See also: