浏览代码

fix: adjust jest ignore patterns

Sv443 5 月之前
父节点
当前提交
fde154e6d4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      jest.config.mjs

+ 1 - 1
jest.config.mjs

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