Browse Source

fix: adjust jest ignore patterns

Sv443 4 months ago
parent
commit
fde154e6d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jest.config.mjs

+ 1 - 1
jest.config.mjs

@@ -2,7 +2,7 @@
 const config = {
 const config = {
   preset: "ts-jest",
   preset: "ts-jest",
   testEnvironment: "node",
   testEnvironment: "node",
-  testPathIgnorePatterns: ["/node_modules/", "/out/"],
+  testPathIgnorePatterns: ["**/node_modules/**.*", "**/out/**.*"],
   testMatch: ["**/test/**/*.spec.ts"],
   testMatch: ["**/test/**/*.spec.ts"],
 };
 };