feat(tstest): Enhance tstest with fluent API, suite grouping, tag filtering, fixture & snapshot testing, and parallel execution improvements

This commit is contained in:
2025-05-16 00:21:32 +00:00
parent 1c5cf46ba9
commit 2b01d949f2
30 changed files with 1504 additions and 173 deletions

View File

@@ -45,4 +45,11 @@ const test6 = tap.skip.test('my 6th test -> should fail after 1000ms', async (to
await tools.delayFor(100);
});
await tap.start();
const testPromise = tap.start();
// Export promise for browser compatibility
if (typeof globalThis !== 'undefined') {
(globalThis as any).tapPromise = testPromise;
}
export default testPromise;