Skip to content

Commit

Permalink
try with done() ?
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Oct 29, 2024
1 parent fbcebd2 commit 1bbd0bc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/smoke/smartSend.smoke.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if (process.platform !== 'win32') {
suiteTeardown(closeActiveWindows);
teardown(closeActiveWindows);

test('Smart Send', async () => {
test('Smart Send', async (done) => {
const file = path.join(
EXTENSION_ROOT_DIR_FOR_TESTS,
'src',
Expand Down Expand Up @@ -69,7 +69,7 @@ if (process.platform !== 'win32') {
return new Promise<void>((resolve) => {
setTimeout(() => {
resolve();
}, 5000);
}, 10000);
});
}

Expand All @@ -81,6 +81,7 @@ if (process.platform !== 'win32') {
} else {
assert.fail(`"${outputFile}" file still exists`);
}
done();
});
});
}

0 comments on commit 1bbd0bc

Please sign in to comment.