Closed hardfist closed 2 years ago
I want to generate test case on the fly, but it seems I can't wait wait for the dynamic case finished by waiting test.run()
const { test } = require('uvu'); const assert = require('assert'); test("hello", () => { console.log('middle'); assert.equal(1,1); }) async function main(){ console.log("begin"); await test.run(); // not working console.log('end'); } main();
Yep, it’s planned. Duplicate of #38
I want to generate test case on the fly, but it seems I can't wait wait for the dynamic case finished by waiting test.run()