Update dependency @vitest/coverage-c8 to v0.27.2 - autoclosed
This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @vitest/coverage-c8 | 0.25.8 -> 0.27.2 |
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
vitest-dev/vitest
v0.27.2
🚀 Features
- Add runAllTimersAsync from sinonjs - by @guillaumeduboc in https://github.com/vitest-dev/vitest/issues/2209 (40187)
🐞 Bug Fixes
- Document.defaultView references the same window as the global one - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2649 (1ac4b)
- Trim input filename and test name - by @btea in https://github.com/vitest-dev/vitest/issues/2650 (d3dcb)
- Increase default teardownTimeout - by @sheremet-va (13e53)
- Mock css files imported with "require" - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2679 (6c1a2)
- Don't start watching files in "run" mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2680 (0a31e)
- Rerun tests, when setup file is edited - by @mysteryven and @sheremet-va in https://github.com/vitest-dev/vitest/issues/2625 (019a6)
- Always show filename for unhandled errors - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2689 (15aa0)
- Define property instead of assigning it in vi.stubGlobal - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2685 (8a1d7)
-
coverage: Watch mode to use
coverage.allonly when all tests are run - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/2665 (85096) - typecheck: Log tests with verbose reporter, correctly show "pass" tests - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2656 (61dde)
- ui: Don't show "connecting" screen in html reporter - by @poyoho in https://github.com/vitest-dev/vitest/issues/2693 (d8548)
🏎 Performance
- Don't resolve import path, if it was already resolved - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2659 (45cc3)
View changes on GitHub
v0.27.1
🚀 Features
- Show error, when process.exit is called - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2643 (866f4)
- Add more information about unhandler error - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2642 (1ffb0)
- Display running processes, if vitest closes with timeout - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2633 (94968)
🐞 Bug Fixes
- Type issue with spyOn method - by @samkevin1 in https://github.com/vitest-dev/vitest/issues/2365 and https://github.com/vitest-dev/vitest/issues/2582 (1aaa7)
- Add missing types in TS project when global is true - by @Sneaken in https://github.com/vitest-dev/vitest/issues/2631 (4745e)
- Always report failed test in junit reporter - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2632 (83da2)
- Change Vite root, if test.root is used - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2637 (efbff)
- Don't use ownKeys, when interoping a module - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2629 (a186a)
- Cut duplicate error in negated toHaveBeenCalled - by @richardboehme in https://github.com/vitest-dev/vitest/issues/2638 (09d62)
- Always update last HMR ms on a module - by @sheremet-va (99676)
- Terminate workers, when closing process - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2645 (ece43)
-
coverage:
- Prevent c8 from crashing on invalid sourcemaps - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/2634 (0163d)
- Istanbul provider to use
coverage.extension- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/2641 (7e388)
View changes on GitHub
v0.27.0
🚨 Breaking Changes
- Deprecate "error" on result, store errors in "errors" - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2586 (e641a)
- Split vitest into separate packages, but still bundle them for the time being - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2575 (c8e6f)
🚀 Features
- coverage: report only changed files when using istanbul coverage with watch mode - by @g4rry420 in https://github.com/vitest-dev/vitest/issues/2385 (bf872)
🐞 Bug Fixes
- Return mock path only when mocked - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2619 (f8ac2)
- Allow mocking CJS module with interoped default - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2598 (6b3e3)
- Avoid random ENOTEMPTY errors - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/2620 (59766)
- Always inline assets and modules with special Vite queries - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2617 (fed1c)
-
cli:
- Allow overrides reporter via cli option - by @mysteryven and @sheremet-va in https://github.com/vitest-dev/vitest/issues/2573 (894f1)
-
coverage:
- Flaky c8 coverage caused by parallel sourcemap constructing - by @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/2591 (9a29f)
- Validate extension, when reporting c8 coverage - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2626 (74463)
🏎 Performance
- Improve vi.mock performance - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2594 (09d19)
View changes on GitHub
v0.26.3
🚀 Features
-
mock: Expose a
importOriginalhelper to the factory - by @antfu in https://github.com/vitest-dev/vitest/issues/2551 (853ee)
🐞 Bug Fixes
- Correctly automock nested interoped defaults - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2559 (a431d)
- Start tracking module resolution as soon as possible for easier tracking - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2560 (9f41e)
- Don't hang when mocking module with circular dependency - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2572 (c479d)
- Show list of tests when typechecking - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2585 (32a57)
- api: Make api parse error stacks and return sourcePos in onTaskUpdate - by @adrienbaron in https://github.com/vitest-dev/vitest/issues/2563 (ef77d)
- coverage: Env-replacer to remove query params from sourcemaps filenames - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/2584 (dba13)
View changes on GitHub
v0.26.2
🚀 Features
🐞 Bug Fixes
- Improve "isInternaRequest" check - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2541 (2bb9a)
- Use correct word when printing "long-running" warning - by @simon-abbott in https://github.com/vitest-dev/vitest/issues/2546 (8dc1c)
- Pass down diff options - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2545 (98c94)
-
cli: Respect inline config
dir- by @antfu in https://github.com/vitest-dev/vitest/issues/2550 (f6b59)
View changes on GitHub
v0.26.0
🚨 Breaking Changes
- vite-node: Rewrite how vite-node resolves id - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2463 (58ee8)
- Correctly interop nested default for external and inlined modules - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2512 (084e9)
- If your environment is
node, Vitest will not resolve invalid named exports (exports that are on "default" property will not magically appear as named exports), unlessdeps.interopDefaultis enabled, or dependency is indeps.inline. This change doesn't affectjsdom,happy-domoredgeenvironments.
- If your environment is
-
web-worker: Make web-worker implementation more compatible with spec - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2431 (c3a63)
- Messages are now cloned with
structuredClone, if it's available, or fallbacks to a polyfill. - Added support for
SharedWorker
- Messages are now cloned with
🚀 Features
- Introduce a native way to set env and globals - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/2515 (b114d)
- Add html reporter based on Vitest UI - by @poyoho and @sheremet-va in https://github.com/vitest-dev/vitest/issues/2444 (b8f34)
- If you have
@vitest/uiinstalled, you can now use'html'reporter to get a beautiful UI to view your test results, inspect module graph and read log messages.
- If you have
🐞 Bug Fixes
- Allow assigning new hotContext - by @cometkim in https://github.com/vitest-dev/vitest/issues/2524 (b4c43)
View changes on GitHub
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by igswsihw-wmadepbot