-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Description
It seems a script cached by wireit does not show previous terminal outputs, so if I cache a unit test (with coverage folder as output, src as input files), I won't see the test results and coverage table again.
Klarwind :: ~/Develop/template-lib-ts ‹master*› » WIREIT_LOGGER=metrics npm run test
> @otakustay/template-lib-ts@1.0.0 test
> wireit
🏃 [test] Running command "vitest run"
RUN v2.1.5 /Users/otakustay/Develop/template-lib-ts
Coverage enabled with v8
✓ src/__tests__/index.test.ts (1 test) 2ms
Test Files 1 passed (1)
Tests 1 passed (1)
Start at 16:21:31
Duration 243ms (transform 14ms, setup 0ms, collect 10ms, tests 2ms, environment 0ms, prepare 33ms)
% Coverage report from v8
----------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files | 100 | 100 | 100 | 100 |
index.ts | 100 | 100 | 100 | 100 |
----------|---------|----------|---------|---------|-------------------
✅ [test] Executed successfully
🏁 [metrics] Executed 1 script(s) in 0.49 seconds
Ran : 1 (100%)
Skipped (fresh) : 0 (0%)
Restored from cache : 0 (0%)
Klarwind :: ~/Develop/template-lib-ts ‹master*› » WIREIT_LOGGER=metrics npm run test
> @otakustay/template-lib-ts@1.0.0 test
> wireit
✅ [test] Already fresh
🏁 [metrics] Executed 1 script(s) in 0.01 seconds
Ran : 0 (0%)
Skipped (fresh) : 1 (100%)
Restored from cache : 0 (0%)Metadata
Metadata
Assignees
Labels
No labels