瀏覽代碼

specificly test src folder with jest

Daniel Zlotin 7 年之前
父節點
當前提交
f79b26d8e9
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      package.json

+ 3
- 0
package.json 查看文件

@@ -59,6 +59,9 @@
59 59
   },
60 60
   "jest": {
61 61
     "preset": "jest-react-native",
62
+    "testPathDirs": [
63
+      "src"
64
+    ],
62 65
     "resetMocks": true,
63 66
     "resetModules": true
64 67
   }