Compare commits

..

2 Commits

Author SHA1 Message Date
4cce132472 1.0.90 2024-04-18 20:50:46 +02:00
dc250804f5 fix(core): update 2024-04-18 20:50:45 +02:00
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@git.zone/tstest", "name": "@git.zone/tstest",
"version": "1.0.89", "version": "1.0.90",
"private": false, "private": false,
"description": "a test utility to run tests that match test/**/*.ts", "description": "a test utility to run tests that match test/**/*.ts",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@git.zone/tstest', name: '@git.zone/tstest',
version: '1.0.89', version: '1.0.90',
description: 'a test utility to run tests that match test/**/*.ts' 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}`); const testModule = await import(`/${bundleName}`);
if (testModule && testModule.default && testModule.default instanceof Promise) { if (testModule && testModule.default && testModule.default instanceof Promise) {
// Execute the exported test function // Execute the exported test function
await testModule.runTestPromise; await testModule.default;
} else { } else {
console.error('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'); console.error('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
console.error('Test module does not export a default promise.'); console.error('Test module does not export a default promise.');