浏览代码

specificly test src folder with jest

Daniel Zlotin 9 年前
父节点
当前提交
f79b26d8e9
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      package.json

+ 3
- 0
package.json 查看文件

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