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 v2 #8

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 8, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest (source) ^0.8.3 -> ^2.1.4 age adoption passing confidence

Release Notes

vitest-dev/vitest (vitest)

v2.1.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v2.1.3

Compare Source

   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v2.1.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v2.1.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v2.1.0

Compare Source

This release makes another big change to the Browser Mode by introducing locators API:

test('renders blog posts', async () => {
  const screen = page.render(<Blog />)

  await expect.element(screen.getByRole('heading', { name: 'Blog' })).toBeInTheDocument()

  const [firstPost] = screen.getByRole('listitem').all()

  await firstPost.getByRole('button', { name: 'Delete' }).click()

  expect(screen.getByRole('listitem').all()).toHaveLength(3)
})

You can use either vitest-browser-vue, vitest-browser-svelte or vitest-browser-react to render components and make assertions using locators. Locators are also available on the page object from @vitest/browser/context.

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v2.0.5

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v2.0.4

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v2.0.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v2.0.2

Compare Source

v2.0.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v2.0.0

Compare Source

Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.

🚨 Breaking Changes

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Jan 8, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
 WARN  The "store" setting has been renamed to "store-dir". Please use the new name.
Scope: all 4 projects
 WARN  GET https://registry.npmjs.org/vitepress/-/vitepress-0.22.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vite/-/vite-2.9.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vitest/-/vitest-0.8.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vitest error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vitepress/-/vitepress-0.22.3.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vite/-/vite-2.9.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vitest/-/vitest-0.8.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vitest error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
/tmp/renovate/repos/github/elonehoo/typescript-algorithm/docs:
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams
undefined
undefined
undefined

Copy link

stackblitz bot commented Jan 8, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 2 times, most recently from b1b478b to a37333b Compare January 18, 2024 05:44
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from a37333b to f4d3fc5 Compare January 30, 2024 20:37
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 2 times, most recently from 742d941 to 496bcbb Compare February 21, 2024 05:03
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 496bcbb to 391358e Compare March 15, 2024 20:30
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 391358e to de83cbb Compare April 12, 2024 05:50
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 3 times, most recently from e8a7846 to 8dd5390 Compare May 1, 2024 08:58
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 8dd5390 to ddcbebe Compare May 4, 2024 02:54
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from ddcbebe to a6938b6 Compare July 8, 2024 20:55
@renovate renovate bot changed the title chore(deps): update dependency vitest to v1 chore(deps): update dependency vitest to v2 Jul 8, 2024
Copy link
Contributor Author

renovate bot commented Jul 8, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
 WARN  The "store" setting has been renamed to "store-dir". Please use the new name.
Scope: all 4 projects
 WARN  GET https://registry.npmjs.org/vitepress/-/vitepress-0.22.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vite/-/vite-2.9.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vitest/-/vitest-0.8.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vitest error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/vitepress/-/vitepress-0.22.3.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.6.3.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vite/-/vite-2.9.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vitest/-/vitest-0.8.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/vitest error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
/tmp/renovate/repos/github/elonehoo/typescript-algorithm/docs:
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams
undefined
undefined
undefined

@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 2 times, most recently from d90592f to 9ef0bd1 Compare July 17, 2024 02:50
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 9ef0bd1 to 44b0932 Compare July 24, 2024 02:28
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 44b0932 to 0ee0b43 Compare August 1, 2024 05:43
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 2 times, most recently from e677c93 to 6e0d578 Compare September 14, 2024 03:01
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 6e0d578 to 3e266e6 Compare October 3, 2024 00:53
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 3e266e6 to 85f8cf0 Compare October 15, 2024 02:44
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 85f8cf0 to a76e479 Compare October 31, 2024 02:51
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.

0 participants