fix(core): update
This commit is contained in:
		
							
								
								
									
										10
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								package.json
									
									
									
									
									
								
							| @@ -21,20 +21,20 @@ | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@git.zone/tsbuild": "^2.1.72", | ||||
|     "@types/node": "^20.11.25" | ||||
|     "@types/node": "^20.12.7" | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "@api.global/typedserver": "^3.0.27", | ||||
|     "@git.zone/tsbundle": "^2.0.15", | ||||
|     "@git.zone/tsrun": "^1.2.46", | ||||
|     "@push.rocks/consolecolor": "^2.0.1", | ||||
|     "@push.rocks/consolecolor": "^2.0.2", | ||||
|     "@push.rocks/smartbrowser": "^2.0.6", | ||||
|     "@push.rocks/smartdelay": "^3.0.5", | ||||
|     "@push.rocks/smartfile": "^11.0.4", | ||||
|     "@push.rocks/smartfile": "^11.0.14", | ||||
|     "@push.rocks/smartlog": "^3.0.3", | ||||
|     "@push.rocks/smartpromise": "^4.0.3", | ||||
|     "@push.rocks/smartshell": "^3.0.3", | ||||
|     "@push.rocks/tapbundle": "^5.0.15", | ||||
|     "@push.rocks/smartshell": "^3.0.5", | ||||
|     "@push.rocks/tapbundle": "^5.0.23", | ||||
|     "@types/ws": "^8.5.10", | ||||
|     "figures": "^6.1.0", | ||||
|     "ws": "^8.16.0" | ||||
|   | ||||
							
								
								
									
										1578
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1578
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@git.zone/tstest', | ||||
|   version: '1.0.88', | ||||
|   version: '1.0.89', | ||||
|   description: 'a test utility to run tests that match test/**/*.ts' | ||||
| } | ||||
|   | ||||
| @@ -170,11 +170,14 @@ export class TsTest { | ||||
|         try { | ||||
|           // Dynamically import the test module | ||||
|           const testModule = await import(`/${bundleName}`); | ||||
|           if (testModule && testModule.runTestPromise) { | ||||
|           if (testModule && testModule.default && testModule.default instanceof Promise) { | ||||
|             // Execute the exported test function | ||||
|             await testModule.runTestPromise; | ||||
|           } else { | ||||
|             console.error('Test module does not export runTest function.'); | ||||
|             console.error('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'); | ||||
|             console.error('Test module does not export a default promise.'); | ||||
|             console.error('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'); | ||||
|  | ||||
|           } | ||||
|         } catch (err) { | ||||
|           console.error(err); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user