diff --git a/test/prompt-suggestion.js b/test/prompt-suggestion.js index c67f9003..dd8b7b71 100644 --- a/test/prompt-suggestion.js +++ b/test/prompt-suggestion.js @@ -9,6 +9,8 @@ const FileEditor = require('mem-fs-editor'); const Storage = require('../lib/util/storage'); const promptSuggestion = require('../lib/util/prompt-suggestion'); +/* eslint max-nested-callbacks: ["warn", 6] */ + describe('PromptSuggestion', () => { beforeEach(function () { this.memFs = env.createEnv().sharedFs; diff --git a/test/user.js b/test/user.js index 3cd3714b..836d1b25 100644 --- a/test/user.js +++ b/test/user.js @@ -10,9 +10,13 @@ const shell = require('shelljs'); const sinon = require('sinon'); const Base = require('..'); +/* eslint max-nested-callbacks: ["warn", 5] */ + const tmpdir = path.join(os.tmpdir(), 'yeoman-user'); -describe('Base#user', () => { +describe('Base#user', function () { + this.timeout(5000); + beforeEach(function () { this.prevCwd = process.cwd(); this.tmp = tmpdir;