Skip to content

Commit

Permalink
Merge pull request #1 from gmrchk/fix-invalid-unref
Browse files Browse the repository at this point in the history
Fix invalid and unnecessary .unref call
  • Loading branch information
gmrchk authored Feb 24, 2022
2 parents b51e9b6 + 0b6f7c8 commit 79ff56e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gmrchk/cli-testing-library",
"version": "0.1.0",
"version": "0.1.1",
"description": "Small but powerful library for testing CLI the way it is used by people.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export const prepareEnvironment = async (): Promise<CLITestEnvironment> => {
};
const wait = (delay: number): Promise<void> => {
return new Promise((resolve) => {
setTimeout(resolve, delay).unref();
setTimeout(resolve, delay);
});
};
const waitForFinish = async (): Promise<ExecResult> => {
Expand Down

0 comments on commit 79ff56e

Please sign in to comment.