Skip to content

Commit

Permalink
fix: don't sleep in test (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Apr 8, 2020
1 parent 09c5966 commit 0e2c74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/releasers/java-yoshi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class Version {
}

async function delay({ms = 3000}) {
console.log(process.env.NODE_ENV);
if (process.env.ENVIRONMENT === 'test') return;
new Promise(resolve => {
setTimeout(() => {
return resolve();
Expand Down

0 comments on commit 0e2c74e

Please sign in to comment.