From 6712ff6b073a4167b5fbb5d59fa62c7fc32ba434 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Thu, 7 Mar 2024 13:17:28 +0100 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/tstest.classes.tstest.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 53af6c8..5c5226f 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tstest', - version: '1.0.87', + version: '1.0.88', description: 'a test utility to run tests that match test/**/*.ts' } diff --git a/ts/tstest.classes.tstest.ts b/ts/tstest.classes.tstest.ts index 92f3c96..ea8081b 100644 --- a/ts/tstest.classes.tstest.ts +++ b/ts/tstest.classes.tstest.ts @@ -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.'); }