Skip to content

Commit

Permalink
Increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Mar 13, 2021
1 parent 0b2b99a commit 97ff0f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ describe('Generators plugin', () => {
});

afterEach(function () {
this.timeout(20000);
this.timeout(40000);
process.chdir(this.cwd);
fs.removeSync(tmpdir);
});
Expand Down
4 changes: 2 additions & 2 deletions test/repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ describe('repository', () => {
let repository;

beforeEach(function () {
this.timeout(20000);
this.timeout(40000);
repository = new YeomanRepository();
if (fs.existsSync(repository.repositoryPath)) {
fs.removeSync(repository.repositoryPath);
}
});

afterEach(function () {
this.timeout(20000);
this.timeout(40000);
repository.cleanupPackageCache('yeoman-environment', true);
if (fs.existsSync(repository.repositoryPath)) {
fs.removeSync(repository.repositoryPath);
Expand Down

0 comments on commit 97ff0f2

Please sign in to comment.