Patches
-
(
uvu
): Ensure tests fail if haveprocess.exit
or unresolved Promises (#206, #207): 70b59e7
Thank you @rictic~! -
(
uvu/diff
): Print BigInts within JSON correctly (#186): d764c08
Thank you @rdmurphy~! -
(
uvu
): AttachglobalThis.UVU_DEFER
toisCLI
bool guard: 213efb5 -
(
uvu/run
): Moveuvu
imports into function call: f735f5a
Both of these commits enable (some) programmatic-styleuvu
usage.// Basic ESM programmatic usage // --- let { run } = await import('uvu/run'); let { parse } = await import('uvu/parse'); // find all "src/**/*.test.ts" files let { suites } = await parse('src', /\.test.ts$/, { require: ['tsm'], }); try { await run(suites); } catch (err) { console.error(err.stack || err); process.exitCode = 1; }
Note: This will still be greatly simplified in a future release (#113)
Chores
- Bump
setup-node
image version for CI: 2831a14
Full Changelog: v0.5.5...v0.5.6