Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Update dependency vitest to v0.32.0 #225

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 28, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest 0.23.4 -> 0.32.0 age adoption passing confidence

Release Notes

vitest-dev/vitest

v0.32.0

Compare Source

   🚨 Breaking Changes
  • Throw an error, if the module cannot be resolved  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/3307 (1ad63)
    • Vitest used to fall back to the original import when it could not resolve it to the file path or the virtual module. This leads to hard-to-find module graph mismatches if you had incorrect alias or relied on relative imports to be resolved to the project root (which is usual behavior in TypeScript) because the code accidentally "worked". With this release, Vitest will now throw an error if it cannot resolve the module - there are possible edge cases that are not covered yet, so if you have any problems with this, please open a separate issue with reproduction.
  • Improve globs  -  by @​nickmccurdy in https://github.com/vitest-dev/vitest/issues/3392 (19ecc)
    • Vitest now has glob patterns similar to Jest for better compatibility. It's possible that some files will be considered test files when previously they were not. For example, Vitest now considers test.js to be a test file. Also any file in __tests__ is now considered to be a test, not just files with test or spec suffix.
  • Add @vitest/coverage-v8 package  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/3339 (82112)
    • Vitest now uses v8 code coverage directly for better performance. @vitest/coverage-c8 is deprecated as Vitest no longer uses c8 package for coverage output. It will not be updated anymore, and Vitest will fail in the next version if the user has c8 as their coverage provider. Please, install the new @vitest/coverage-v8 package if you previously used @vitest/coverage-c8.
  • mocker: Don't restore mock to the original if the module is automocked  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/3518 (c1004)
    • spy.mockRestore on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does.
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.31.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.31.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.31.2

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.31.1

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.31.0

Compare Source

   🚨 Breaking Changes
  • Remove browser from allowed pools inside poolMatchGlob config option. Please, use Vitest workspaces for running tests in the browser.

  • Move assertion declarations to expect package  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/3294 (cf3af)

    • The change should be minor:
    - declare namespace Vi {
    + declare module 'vitest' {
       interface Assertion<T = any> extends CustomMatchers<T> {}
       interface AsymmetricMatchersContaining extends CustomMatchers {}
    }
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.30.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.30.0

Compare Source

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.29.8

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.29.7

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.6

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.5

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.29.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.29.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.0

Compare Source

This release makes some significant changes to how tests are running. If you were using --no-threads before, you might consider enabling --single-thread instead (because your tests are now running in child_process instead of a worker thread) or try our new performance optimization feature (discussed later). If you were relying on API that was not available inside a worker (like process.chdir(), you can now use this option.

One of the potential breaking bug fixes is that environments do not share the same global scope anymore if you run them with --no-isolate, --no-threads or --single-thread - you might need to update your setup files if you were relying on a global variable before.

If you had performance issues on large code bases before, try the new deps.experimentalOptimizer option instead of disabling threads. Feedback is welcome!

One of the breaking changes includes adding a link to snapshots inside snapshot files, meaning you will need to update all your snapshots.

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.28.5

[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.4...v0.28


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested review from auguwu and IceeMC as code owners October 28, 2022 10:25
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 2 times, most recently from caee37c to 9a48c8d Compare October 31, 2022 11:44
@renovate renovate bot changed the title Update dependency vitest to v0.24.3 Update dependency vitest to v0.24.4 Oct 31, 2022
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 3 times, most recently from 8ba00f0 to 394f6d2 Compare November 1, 2022 19:29
@renovate renovate bot changed the title Update dependency vitest to v0.24.4 Update dependency vitest to v0.24.5 Nov 1, 2022
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 3 times, most recently from c722533 to ca4debf Compare November 7, 2022 18:25
@renovate renovate bot changed the title Update dependency vitest to v0.24.5 Update dependency vitest to v0.25.0 Nov 7, 2022
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 2 times, most recently from 0c6c307 to 6105640 Compare November 8, 2022 18:57
@renovate renovate bot changed the title Update dependency vitest to v0.25.0 Update dependency vitest to v0.25.1 Nov 8, 2022
@renovate renovate bot changed the title Update dependency vitest to v0.25.1 Update dependency vitest to v0.25.2 Nov 14, 2022
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 4 times, most recently from 5c204db to 80f8772 Compare November 16, 2022 13:42
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 2 times, most recently from f7340f2 to ebc9380 Compare November 22, 2022 15:47
@renovate renovate bot changed the title Update dependency vitest to v0.25.2 Update dependency vitest to v0.25.3 Nov 22, 2022
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 4 times, most recently from 9fc5dcb to f2990cf Compare December 1, 2022 01:09
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 3 times, most recently from 85187fe to b80ab8e Compare February 17, 2023 10:52
@renovate renovate bot changed the title Update dependency vitest to v0.28.5 Update dependency vitest to v0.29.1 Feb 25, 2023
@renovate renovate bot changed the title Update dependency vitest to v0.29.1 Update dependency vitest to v0.29.2 Feb 28, 2023
@renovate renovate bot changed the title Update dependency vitest to v0.29.2 Update dependency vitest to v0.29.3 Mar 15, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from fb8104a to 9223cfa Compare March 15, 2023 20:36
@renovate renovate bot changed the title Update dependency vitest to v0.29.3 Update dependency vitest to v0.29.5 Mar 20, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 9223cfa to 67df8dc Compare March 20, 2023 15:27
@renovate renovate bot changed the title Update dependency vitest to v0.29.5 Update dependency vitest to v0.29.7 Mar 20, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 67df8dc to 4193422 Compare March 20, 2023 22:23
@renovate renovate bot changed the title Update dependency vitest to v0.29.7 Update dependency vitest to v0.29.8 Mar 28, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 4193422 to f117b04 Compare March 28, 2023 18:24
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from f117b04 to 4d1dca6 Compare April 9, 2023 16:32
@renovate renovate bot changed the title Update dependency vitest to v0.29.8 Update dependency vitest to v0.30.0 Apr 9, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 4d1dca6 to f0b6b5a Compare April 11, 2023 15:46
@renovate renovate bot changed the title Update dependency vitest to v0.30.0 Update dependency vitest to v0.30.1 Apr 11, 2023
@renovate renovate bot changed the title Update dependency vitest to v0.30.1 Update dependency vitest to v0.31.1 May 28, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from f0b6b5a to 75c75d8 Compare May 28, 2023 09:27
@renovate renovate bot changed the title Update dependency vitest to v0.31.1 Update dependency vitest to v0.31.2 May 30, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch 2 times, most recently from fae6fc9 to 15cc4e3 Compare May 31, 2023 15:23
@renovate renovate bot changed the title Update dependency vitest to v0.31.2 Update dependency vitest to v0.31.3 May 31, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 15cc4e3 to e4dcb6a Compare June 2, 2023 17:49
@renovate renovate bot changed the title Update dependency vitest to v0.31.3 Update dependency vitest to v0.31.4 Jun 2, 2023
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from e4dcb6a to 71a406f Compare June 6, 2023 19:37
@renovate renovate bot changed the title Update dependency vitest to v0.31.4 Update dependency vitest to v0.32.0 Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants