You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/11/27 17:09:08 UTC

[GitHub] brodybits closed pull request #72: npm test fixes

brodybits closed pull request #72: npm test fixes
URL: https://github.com/apache/cordova-osx/pull/72
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.travis.yml b/.travis.yml
index 09f5ab7d..97c8f160 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,3 +19,4 @@ script:
   - node --version
   - npm --version
   - npm test
+  - npm run cover
diff --git a/package.json b/package.json
index a688885e..361247b9 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,8 @@
     "cordova:platform"
   ],
   "scripts": {
-    "test": "npm run eslint && npm run test:coverage",
+    "cover": "npm run test:coverage",
+    "test": "npm run eslint && npm run test:component && npm run test:objc",
     "test:objc": "jasmine  --config=tests/spec/objc.json",
     "test:component": "jasmine --config=tests/spec/component.json",
     "test:coverage": "nyc jasmine --config=tests/spec/coverage.json",


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org