Skip to content

Commit

Permalink
Revert "fix(tests): revert to old test structure"
Browse files Browse the repository at this point in the history
This reverts commit 32bbf56 since we need the new structure in the new version. My fault 😅
  • Loading branch information
Benedikt Rötsch committed Aug 10, 2017
1 parent f78da2a commit 0b82889
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/test-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -e
if ./node_modules/contentful-sdk-core/bin/run-if-node-version.js ; then
npm run test:cover
else
npm run test:only
npm run test:unit
fi

# Create the CommonJS and browser builds, so we can run integration tests using those
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"pretest": "npm run lint",
"test": "npm run test:cover",
"test:ci-emulate": "trevor",
"test:cover": "BABEL_ENV=test babel-node ./node_modules/istanbul/lib/cli.js cover test/runner",
"test:only": "BABEL_ENV=test babel-node ./test/runner",
"test:cover": "BABEL_ENV=test babel-node ./node_modules/istanbul/lib/cli.js cover ./test/runner | tap-spec",
"test:unit": "BABEL_ENV=test babel-node ./test/runner | tap-spec",
"test:debug": "BABEL_ENV=test babel-node debug ./test/runner",
"browser-coverage": "npm run test:cover && opener coverage/lcov-report/index.html",
"prepublish": "in-publish && npm run build || not-in-publish",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"precommit": "npm run lint",
"prepush": "npm run test:only"
"prepush": "npm run test:unit"
},
"files": [
"dist",
Expand Down Expand Up @@ -75,6 +75,7 @@
"rimraf": "^2.5.1",
"semantic-release": "^6.3.2",
"sinon": "^2.0.0-pre",
"tap-spec": "^4.1.1",
"trevor": "^2.3.0"
},
"config": {
Expand Down

0 comments on commit 0b82889

Please sign in to comment.