Skip to content

Commit

Permalink
fixed resolve tests + default test output is back to 'spec' (related: #…
Browse files Browse the repository at this point in the history
  • Loading branch information
benmosher committed Jul 13, 2016
1 parent e79c07d commit 71afde7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"watch": "cross-env NODE_PATH=./lib gulp watch-test",
"cover": "gulp pretest && cross-env NODE_PATH=./lib istanbul cover --dir reports/coverage _mocha tests/lib/ -- --recursive -R progress",
"posttest": "eslint ./src",
"test": "cross-env BABEL_ENV=test NODE_PATH=./src nyc mocha --recursive tests/src -R progress -t 5s",
"test": "cross-env BABEL_ENV=test NODE_PATH=./src nyc mocha --recursive tests/src -t 5s",
"coverage-report": "npm t && nyc report --reporter html",
"test-all": "npm test && for resolver in ./resolvers/*; do cd $resolver && npm test && cd ../..; done",
"ci-test": "eslint ./src && gulp pretest && cross-env NODE_PATH=./lib istanbul cover --report lcovonly --dir reports/coverage _mocha tests/lib/ -- --recursive --reporter dot",
Expand Down
2 changes: 1 addition & 1 deletion tests/src/core/resolve.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('resolve', function () {

// these tests fail on a case-sensitive file system
// because nonexistent files aren't cached
if (CASE_SENSITIVE_FS) {
if (!CASE_SENSITIVE_FS) {
it('gets cached values within cache lifetime', function () {
// get cached values initially
expect(resolve(original, context)).to.exist
Expand Down

0 comments on commit 71afde7

Please sign in to comment.