diff --git a/tests/ios/README.md b/tests/ios/README.md index 6530421..b6bf31b 100644 --- a/tests/ios/README.md +++ b/tests/ios/README.md @@ -18,4 +18,4 @@ First install cordova-ios: # Testing from the command line - xcodebuild -scheme CordovaLib && xcodebuild test -scheme CDVSplashScreenLibTests + npm test diff --git a/tests/ios/package.json b/tests/ios/package.json index 642484b..e121e69 100644 --- a/tests/ios/package.json +++ b/tests/ios/package.json @@ -6,5 +6,8 @@ "license": "Apache Version 2.0", "dependencies": { "cordova-ios": "^3.6.0" - } + }, + "scripts": { + "test": "xcodebuild -scheme CordovaLib && xcodebuild test -scheme CDVSplashScreenLibTests" + } } \ No newline at end of file