Permalink
Browse files

Fix jshint errors

  • Loading branch information...
1 parent 4cec598 commit 8bea8c2ce3ec35c1fae4dcef5a131eff1900e550 Avik Das committed Aug 28, 2014
Showing with 3 additions and 6 deletions.
  1. +2 −2 test/cache.js
  2. +1 −4 test/util.js
View
@@ -1,4 +1,4 @@
-var should = require('should');
+require('should');
var cache = require('../src/cache');
var sinon = require('sinon');
var fs = require('fs');
@@ -27,4 +27,4 @@ describe('cache.js', function() {
});
});
-});
+});
View
@@ -386,7 +386,7 @@ describe('utils.js', function() {
});
describe('#logFixtureDebugStatus', function() {
- const logFixtureDebugStatus = sepiaUtil.internal.logFixtureDebugStatus
+ const logFixtureDebugStatus = sepiaUtil.internal.logFixtureDebugStatus;
beforeEach(function() {
sinon.stub(console, 'log'); // console.log becomes a noop
@@ -878,7 +878,6 @@ describe('utils.js', function() {
body: 'missing file 0123'
});
var filesArr = ['requestOne.request', 'requestTwo.request'] ;
- var fileReadStub, fileReadDir;
fs.readFileSync.withArgs(path.resolve('missingFile.missing'))
.returns(missingFileData);
@@ -910,7 +909,6 @@ describe('utils.js', function() {
body: 'missing file'
});
var filesArr = ['requestOne.request', 'requestTwo.request'] ;
- var fileReadStub, fileReadDir;
fs.readFileSync.withArgs(path.resolve('missingFile.missing'))
.returns(missingFileData);
@@ -942,7 +940,6 @@ describe('utils.js', function() {
body: 'missing file'
});
var filesArr = ['requestOne.request', 'requestTwo.request'] ;
- var fileReadStub, fileReadDir;
fs.readFileSync.withArgs(path.resolve('missingFile.missing'))
.returns(missingFileData);

0 comments on commit 8bea8c2

Please sign in to comment.