To remind yourself to write a test later, use theDocumentation Index
Fetch the complete documentation index at: https://bun.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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: