summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-03-07 10:40:25 +0100
committerSamy Pessé <samypesse@gmail.com>2016-03-07 10:40:25 +0100
commitb4bdf97cfe84994a4e2e04f196e0ebb4849b188f (patch)
treeeabe2904fb68684960c469a6286f1628eaea0bd0 /test
parentbf98984012c493aebb2258902e1722f0ed0d3527 (diff)
downloadgitbook-b4bdf97cfe84994a4e2e04f196e0ebb4849b188f.zip
gitbook-b4bdf97cfe84994a4e2e04f196e0ebb4849b188f.tar.gz
gitbook-b4bdf97cfe84994a4e2e04f196e0ebb4849b188f.tar.bz2
Fix linting errors
Diffstat (limited to 'test')
-rw-r--r--test/init.js6
-rw-r--r--test/locate.js1
2 files changed, 3 insertions, 4 deletions
diff --git a/test/init.js b/test/init.js
index e1e8a4a..200f795 100644
--- a/test/init.js
+++ b/test/init.js
@@ -19,7 +19,7 @@ describe('Init', function() {
rootFolder.should.have.file('hello.md');
rootFolder.should.have.file('hello 2.md');
});
- })
+ });
});
it('should create file subfolder', function() {
@@ -38,7 +38,7 @@ describe('Init', function() {
rootFolder.should.have.file('test/hello.md');
rootFolder.should.have.file('test/test2/world.md');
});
- })
+ });
});
it('should create SUMMARY if non-existant', function() {
@@ -51,7 +51,7 @@ describe('Init', function() {
rootFolder.should.have.file('SUMMARY.md');
rootFolder.should.have.file('README.md');
});
- })
+ });
});
});
diff --git a/test/locate.js b/test/locate.js
index 2b6a574..f9adcd7 100644
--- a/test/locate.js
+++ b/test/locate.js
@@ -1,7 +1,6 @@
var path = require('path');
var should = require('should');
-var Book = require('../').Book;
var mock = require('./mock');
describe('Locate', function() {