borp icon indicating copy to clipboard operation
borp copied to clipboard

Global setup before all the tests

Open botflux opened this issue 3 weeks ago • 1 comments

Could this library support a --global-setup file.js option, similar to Node.js 24's --test-global-setup option?

Borp would be called like this:

npx borp --global-setup ./tests/setup.js ./tests/**/*.test.js

The setup would be done after Typescript compilation, so the setup file could be in typescript:

npx borp --global ./tests/setup.ts ./tests/**/*.test.ts

botflux avatar Nov 08 '25 19:11 botflux

Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.

mcollina avatar Nov 08 '25 19:11 mcollina