Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/webgpu/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ module.exports = {
'globalSetup.ts',
'globalTeardown.ts'
],
// modulePathIgnorePatterns only affects the module registry, not test
// discovery. Without this, the .d.ts files emitted into lib/ by `bob build`
// are picked up as test suites and fail with "must contain at least one test".
testPathIgnorePatterns: ['/node_modules/', '<rootDir>/lib/'],
globalSetup: './src/__tests__/globalSetup.ts',
globalTeardown: './src/__tests__/globalTeardown.ts',
transform: {
Expand Down
Loading