Add globals for mocha linting and fix code style errors

This commit is contained in:
Jia Hao 2016-01-25 01:14:25 +08:00
parent cb07b13cad
commit 0fece8dfb7
2 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,13 @@
module.exports = {
globals: {
// mocha
describe: false,
it: false,
before: false,
beforeEach: false,
after: false,
afterEach: false
},
rules: {
indent: [
2,

View File

@ -36,9 +36,9 @@ function checkApp(appPath, inputOptions, callback) {
}
}
describe('index module', function () {
describe('Nativefier Module', function() {
this.timeout(20000);
it('Can build an app from a target url', function (done) {
it('Can build an app from a target url', function(done) {
try {
var tmpObj = tmp.dirSync({unsafeCleanup: true});
after(function() {