mirror of https://github.com/jiahaog/Nativefier
Add globals for mocha linting and fix code style errors
This commit is contained in:
parent
cb07b13cad
commit
0fece8dfb7
|
@ -1,4 +1,13 @@
|
|||
module.exports = {
|
||||
globals: {
|
||||
// mocha
|
||||
describe: false,
|
||||
it: false,
|
||||
before: false,
|
||||
beforeEach: false,
|
||||
after: false,
|
||||
afterEach: false
|
||||
},
|
||||
rules: {
|
||||
indent: [
|
||||
2,
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue