test.todo function. There’s no need to provide a test implementation.
The output of
bun test indicates how many todo tests were encountered.
terminal
Optionally, you can provide a test implementation.
If an implementation is provided, it will not be run unless the
--todo flag is passed. If the --todo flag is passed, the test will be executed and expected to fail by test runner! If a todo test passes, the bun test run will return a non-zero exit code to signal the failure.
terminal
See also: