fix(core): update
This commit is contained in:
@@ -170,9 +170,9 @@ export class TsTest {
|
||||
try {
|
||||
// Dynamically import the test module
|
||||
const testModule = await import(`/${bundleName}`);
|
||||
if (testModule && testModule.runTest) {
|
||||
if (testModule && testModule.runTestPromise) {
|
||||
// Execute the exported test function
|
||||
await testModule.runTest();
|
||||
await testModule.runTestPromise;
|
||||
} else {
|
||||
console.error('Test module does not export runTest function.');
|
||||
}
|
||||
|
Reference in New Issue
Block a user