Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency vitest to ^0.31.0 #6

Merged
merged 2 commits into from
May 5, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 5, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest ^0.30.1 -> ^0.31.0 age adoption passing confidence

Release Notes

vitest-dev/vitest

v0.31.0

Compare Source

   🚨 Breaking Changes
  • Update mock implementation to support ESM runtime, introduce "vi.hoisted"  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/3258 (0c09a)

    • Bypass ESM import order restriction with vi.hoisted to run code before imports are executed:
    vi.hoisted(() => vi.setSystemTime(new Date(2022, 1, 1)))

    You can also use it to pass variables to vi.mock:

    const { mockedMethod } = vi.hoisted(() => {
      return { mockedMethod: vi.fn() }
    })   
    vi.mocked('./path/to/module.js', () => {
      return { originalMethod: mockedMethod }
    })
  • 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

Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

@changeset-bot
Copy link

changeset-bot bot commented May 5, 2023

🦋 Changeset detected

Latest commit: 0c861a4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte-preprocess-delegate-events Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@renovate
Copy link
Contributor Author

renovate bot commented May 5, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@baseballyama baseballyama merged commit ec529bc into main May 5, 2023
1 check passed
@baseballyama baseballyama deleted the renovate/vitest-monorepo branch May 5, 2023 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant