Skip to content

Commit a97effd

Browse files
authored
Merge branch 'master' into wjh/no-spy-console
2 parents fe48d42 + a853060 commit a97effd

File tree

1 file changed

+1
-1
lines changed
  • packages/@lwc/integration-not-karma/test/component/dynamic-imports

1 file changed

+1
-1
lines changed

packages/@lwc/integration-not-karma/test/component/dynamic-imports/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function microTask() {
2323

2424
/** Actually waits a macro-task and then a micro-task, for reasons unspecified. */
2525
async function macroTask() {
26-
await new Promise(setTimeout);
26+
await new Promise((resolve) => setTimeout(resolve, 0));
2727
await microTask();
2828
}
2929

0 commit comments

Comments
 (0)