borp
borp copied to clipboard
Global setup before all the tests
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
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.