diff --git a/.projenrc.ts b/.projenrc.ts index bf78d740..7a34ea1d 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -47,6 +47,9 @@ const project = new CdklabsTypeScriptProject({ jestOptions: { jestConfig: { setupFilesAfterEnv: ['/test/setup-jest.ts'], + testMatch: [ + '/test/**/*.test.ts', + ], }, }, tsconfig: { diff --git a/package.json b/package.json index 83a21075..fdb3d124 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ "/test/setup-jest.ts" ], "testMatch": [ + "/test/**/*.test.ts", "/src/**/__tests__/**/*.ts?(x)", "/(test|src)/**/*(*.)@(spec|test).ts?(x)" ],