From 6b87577801cc3ed64f17969e0947e2ad127b35c4 Mon Sep 17 00:00:00 2001 From: Shazron Abdullah Date: Tue, 30 Sep 2014 11:47:46 -0700 Subject: [PATCH] Added 'npm test' --- tests/ios/README.md | 2 +- tests/ios/package.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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