From b9a1f26ef015ae34801e8db2e6d09c664f99dbd5 Mon Sep 17 00:00:00 2001 From: William Candillon Date: Mon, 29 Jun 2026 09:13:17 +0200 Subject: [PATCH] :wrench: --- packages/webgpu/jest.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/webgpu/jest.config.js b/packages/webgpu/jest.config.js index 0255acf67..3894e35ee 100644 --- a/packages/webgpu/jest.config.js +++ b/packages/webgpu/jest.config.js @@ -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/', '/lib/'], globalSetup: './src/__tests__/globalSetup.ts', globalTeardown: './src/__tests__/globalTeardown.ts', transform: {