Skip to content

Commit

Permalink
JSHint covers tests
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Jun 20, 2015
1 parent 1dd4c7e commit d188394
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ tests:
fi

jshint:
./node_modules/.bin/jshint lib defaults/controllers defaults/models
./node_modules/.bin/jshint lib test defaults/controllers defaults/models

cover:
make teaser; \
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ No changes. Erroneous version bump.
* Update dependencies
* Update dev dependencies
* Test code coverage & Travis sends to coveralls
* JSHint covers tests
* Disable Travis dependency cache
* Travis runs on new container infrastructure
* Update README badges to use shields.io
8 changes: 7 additions & 1 deletion test/all.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@
var chai = require('chai'),
expect = chai.expect,
promised = require('chai-as-promised'),
overlook = require('../lib/');
Overlook = require('../lib/');

// init
chai.use(promised);
chai.config.includeStack = true;

// tests

/* jshint expr: true */
/* global describe, it */

describe('Tests', function() {
it.skip('all', function() {
expect(Overlook).to.be.ok;
});
});

0 comments on commit d188394

Please sign in to comment.