Przeglądaj źródła

specificly test src folder with jest

Daniel Zlotin 7 lat temu
rodzic
commit
f79b26d8e9
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3
    0
      package.json

+ 3
- 0
package.json Wyświetl plik

@@ -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
   }