fix(core): update

This commit is contained in:
Philipp Kunz 2024-04-18 20:50:45 +02:00
parent 9669445646
commit dc250804f5
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tstest',
version: '1.0.89',
version: '1.0.90',
description: 'a test utility to run tests that match test/**/*.ts'
}

View File

@ -172,7 +172,7 @@ export class TsTest {
const testModule = await import(`/${bundleName}`);
if (testModule && testModule.default && testModule.default instanceof Promise) {
// Execute the exported test function
await testModule.runTestPromise;
await testModule.default;
} else {
console.error('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
console.error('Test module does not export a default promise.');