fix(core): Fix delay handling in Chrome test execution
This commit is contained in:
@@ -170,7 +170,7 @@ export class TsTest {
|
||||
try {
|
||||
// Dynamically import the test module
|
||||
const testModule = await import(`/${bundleName}`);
|
||||
await plugins.smartdelay.delayFor(0);
|
||||
await new Promise(resolve => setTimeout(resolve, 0));
|
||||
if (testModule && testModule.default && testModule.default instanceof Promise) {
|
||||
// Execute the exported test function
|
||||
await testModule.default;
|
||||
|
Reference in New Issue
Block a user