Skip to content

Commit 4f4f3ad

Browse files
Fix test script to pass when no tests exist
Add --passWithNoTests flag to Jest command to allow CI to pass when the repository has no test files yet.
1 parent f73162f commit 4f4f3ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"start": "react-native start",
88
"android": "react-native run-android",
99
"ios": "node scripts/generate-app-config.js service && react-native run-ios --scheme ServiceAgent --target ServiceAgent",
10-
"test": "jest",
10+
"test": "jest --passWithNoTests",
1111
"build:force": "node scripts/build-react-native-force.js",
1212
"install:ios": "node installios.js",
1313
"install:android": "node installandroid.js",

0 commit comments

Comments
 (0)