|
61 | 61 | "jest": "^23.6.0",
|
62 | 62 | "jsdoc": "~3.5.5",
|
63 | 63 | "lint-staged": "~7.2.0",
|
64 |
| - "mocha": "~4.1.0", |
65 | 64 | "nock": "~9.3.3",
|
66 |
| - "nyc": "~12.0.2", |
67 | 65 | "object.assign": "~4.1.0",
|
68 | 66 | "prettier": "~1.13.5",
|
69 | 67 | "semantic-release": "^15.9.3",
|
70 |
| - "sinon": "~6.0.1", |
71 | 68 | "tslint": "~5.10.0",
|
72 | 69 | "tslint-config-prettier": "~1.13.0",
|
73 | 70 | "tslint-eslint-rules": "~5.3.1",
|
|
116 | 113 | "doc": "jsdoc -c scripts/jsdoc/config.json",
|
117 | 114 | "minify": "uglifyjs --compress --mangle --output dist/watson.min.js --preamble \"// Watson Developer Cloud\n// JavaScript SDK$npm_package_version\n// Generated at `date`\n// Copyright IBM ($npm_package_license)\n// $npm_package_homepage\" -- dist/watson.js",
|
118 | 115 | "prepublishOnly": "npm run build",
|
119 |
| - "test-integration": "mocha test/integration", |
120 |
| - "test-unit": "jest test/unit/", |
121 |
| - "test-unit-travis": "jest --silent --runInBand test/unit/ && codecov", |
122 |
| - "test": "npm run test-unit && npm run test-integration && nyc report --reporter=html", |
123 |
| - "test-travis": "npm run test-unit-travis && nyc mocha test/integration/ --grep @slow --invert && nyc report --reporter=html", |
124 |
| - "report-coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", |
| 116 | + "test-integration": "jest --silent --verbose test/integration", |
| 117 | + "test-unit": "jest --silent --verbose test/unit/", |
| 118 | + "test": "npm run test-unit && npm run test-integration", |
| 119 | + "test-travis": "jest --silent --runInBand --testNamePattern='^((?!@slow).)*$' test/", |
| 120 | + "report-coverage": "codecov", |
125 | 121 | "watch-doc": "nodemon --watch ./ --ext js,tmpl,json --ignore dist/ --ignore doc/ --ignore test/ --ignore examples/ --exec npm run doc",
|
126 | 122 | "watch": "npm run test-unit -- --watch",
|
127 | 123 | "watchify": "watchify index.js --standalone Watson --outfile dist/watson.js --debug --verbose"
|
|
0 commit comments