Skip to content

Commit

Permalink
only look in src for bun test (#3038)
Browse files Browse the repository at this point in the history
Previously, `yarn run test:bun` would fail if we already built for `deno`, since it does not respect the filter in `jest.config.json`, failing with errors like:
```
deno/lib/__tests__/record.test.ts:
error: FileNotFound reading "https://deno.land/x/[email protected]/mod.ts"
```
  • Loading branch information
rotu authored Apr 4, 2024
1 parent 19112cc commit c697056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"test:watch": "yarn test:ts-jest --watch",
"test": "yarn test:ts-jest",
"test:babel": "jest --coverage --config ./configs/babel-jest.config.json",
"test:bun": "bun test",
"test:bun": "bun test src/",
"test:vitest": "npx vitest --config ./configs/vitest.config.ts",
"test:ts-jest": "npx jest --config ./configs/ts-jest.config.json",
"test:swc": "npx jest --config ./configs/swc-jest.config.json",
Expand Down

0 comments on commit c697056

Please sign in to comment.