feat(tstest): Enhance tstest with fluent API, suite grouping, tag filtering, fixture & snapshot testing, and parallel execution improvements
This commit is contained in:
13
test/tstest/test.auth.para__1.ts
Normal file
13
test/tstest/test.auth.para__1.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import { tap, expect } from '../../ts_tapbundle/index.js';
|
||||
|
||||
// This test runs in parallel group 1
|
||||
const timestamp = () => new Date().toISOString().substr(11, 12);
|
||||
|
||||
tap.test('auth test in parallel group 1', async (toolsArg) => {
|
||||
console.log(`[${timestamp()}] Auth test started`);
|
||||
await toolsArg.delayFor(1000);
|
||||
console.log(`[${timestamp()}] Auth test completed`);
|
||||
expect(true).toBeTrue();
|
||||
});
|
||||
|
||||
tap.start();
|
Reference in New Issue
Block a user