fix(core): update
This commit is contained in:
parent
9669445646
commit
dc250804f5
@ -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'
|
||||||
}
|
}
|
||||||
|
@ -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.');
|
||||||
|
Loading…
Reference in New Issue
Block a user