You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many repos using tap or mocha put test files in a test folder without test or spec in their names. Migrating to bun test requires renaming all of their test files.
What is the feature you are proposing to solve the problem?
Add a CLI flag (maybe something like bun test --all-files) or an environment variable to disable filename filtering.
What alternatives have you considered?
Renaming all test files. While doable, it adds an extra step for migrating older repos to bun.
The text was updated successfully, but these errors were encountered:
We could also do something like bun test --style=mocha, which would allow us to do a bunch of other stuff, specific to mocha. Even better if we can just figure this out automatically from your package.json.
What is the problem this feature would solve?
Many repos using tap or mocha put test files in a
test
folder withouttest
orspec
in their names. Migrating tobun test
requires renaming all of their test files.What is the feature you are proposing to solve the problem?
Add a CLI flag (maybe something like
bun test --all-files
) or an environment variable to disable filename filtering.What alternatives have you considered?
Renaming all test files. While doable, it adds an extra step for migrating older repos to bun.
The text was updated successfully, but these errors were encountered: