Psetup
Bun

property

test.default.RunOptions.setup

setup?: (reporter: TestsStream) => void | Promise<void>

A function that accepts the TestsStream instance and can be used to setup listeners before any tests are run.