From 97ff0f246b839e64a886c2c7bd7fbc462a089955 Mon Sep 17 00:00:00 2001 From: Marcelo Shima Date: Sat, 13 Mar 2021 09:29:41 -0300 Subject: [PATCH] Increase timeout --- test/plugins.js | 2 +- test/repository.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/plugins.js b/test/plugins.js index c04dd27b..42b3e4d2 100644 --- a/test/plugins.js +++ b/test/plugins.js @@ -22,7 +22,7 @@ describe('Generators plugin', () => { }); afterEach(function () { - this.timeout(20000); + this.timeout(40000); process.chdir(this.cwd); fs.removeSync(tmpdir); }); diff --git a/test/repository.js b/test/repository.js index 9b2226cf..405c7008 100644 --- a/test/repository.js +++ b/test/repository.js @@ -11,7 +11,7 @@ describe('repository', () => { let repository; beforeEach(function () { - this.timeout(20000); + this.timeout(40000); repository = new YeomanRepository(); if (fs.existsSync(repository.repositoryPath)) { fs.removeSync(repository.repositoryPath); @@ -19,7 +19,7 @@ describe('repository', () => { }); afterEach(function () { - this.timeout(20000); + this.timeout(40000); repository.cleanupPackageCache('yeoman-environment', true); if (fs.existsSync(repository.repositoryPath)) { fs.removeSync(repository.repositoryPath);