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

Update dependency vitest to v2 #63

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 4, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest (source) 0.29.7 -> 2.1.1 age adoption passing confidence

Release Notes

vitest-dev/vitest (vitest)

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
🚀 Features
🐞 Bug Fixes

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 4 times, most recently from 554da76 to 372ec8f Compare December 9, 2023 19:29
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 372ec8f to 43d7c17 Compare December 19, 2023 16:04
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 3 times, most recently from fa7c2b4 to a9e4162 Compare January 5, 2024 09:49
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 2 times, most recently from d9fcbb8 to b4c25a9 Compare January 17, 2024 18:23
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from b4c25a9 to 850e8bb Compare January 26, 2024 16:32
Copy link
Contributor Author

renovate bot commented Jan 26, 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
Progress: resolved 1, reused 0, downloaded 0, added 0
 WARN  GET https://registry.npm.taobao.org/yaml/-/yaml-2.0.0-11.tgz error (CERT_HAS_EXPIRED). Will retry in 10 seconds. 2 retries left.
Progress: resolved 7, reused 0, downloaded 7, added 0
Progress: resolved 8, reused 0, downloaded 8, added 0
 WARN  GET https://registry.npm.taobao.org/yaml/-/yaml-2.0.0-11.tgz error (CERT_HAS_EXPIRED). Will retry in 1 minute. 1 retries left.
undefined
 CERT_HAS_EXPIRED  request to https://registry.npm.taobao.org/yaml/-/yaml-2.0.0-11.tgz failed, reason: certificate has expired

This error happened while installing a direct dependency of /tmp/renovate/repos/github/rainmanhhh/onein-openapi

FetchError: request to https://registry.npm.taobao.org/yaml/-/yaml-2.0.0-11.tgz failed, reason: certificate has expired
    at ClientRequest.<anonymous> (/opt/containerbase/tools/pnpm/8.15.8/20.12.2/node_modules/pnpm/dist/pnpm.cjs:74198:18)
    at ClientRequest.emit (node:events:518:28)
    at TLSSocket.socketErrorListener (node:_http_client:500:9)
    at TLSSocket.emit (node:events:530:35)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 2 times, most recently from e527330 to a818153 Compare February 20, 2024 16:22
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from a818153 to 3624e72 Compare March 15, 2024 12:52
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 3624e72 to 5ec985e Compare April 11, 2024 19:42
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 3 times, most recently from 3dfad39 to 82e85bd Compare April 30, 2024 11:06
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 82e85bd to bb1fd4e Compare May 3, 2024 16:39
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from bb1fd4e to cc58159 Compare July 8, 2024 12:22
@renovate renovate bot changed the title Update dependency vitest to v1 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
Progress: resolved 1, reused 0, downloaded 0, added 0
 WARN  GET https://registry.npm.taobao.org/yaml/-/yaml-2.0.0-11.tgz error (CERT_HAS_EXPIRED). Will retry in 10 seconds. 2 retries left.
Progress: resolved 8, reused 0, downloaded 8, added 0
 WARN  GET https://registry.npm.taobao.org/yaml/-/yaml-2.0.0-11.tgz error (CERT_HAS_EXPIRED). Will retry in 1 minute. 1 retries left.
undefined
 CERT_HAS_EXPIRED  request to https://registry.npm.taobao.org/yaml/-/yaml-2.0.0-11.tgz failed, reason: certificate has expired

This error happened while installing a direct dependency of /tmp/renovate/repos/github/rainmanhhh/onein-openapi

FetchError: request to https://registry.npm.taobao.org/yaml/-/yaml-2.0.0-11.tgz failed, reason: certificate has expired
    at ClientRequest.<anonymous> (/opt/containerbase/tools/pnpm/8.15.9/20.17.0/node_modules/pnpm/dist/pnpm.cjs:76252:18)
    at ClientRequest.emit (node:events:519:28)
    at emitErrorEvent (node:_http_client:108:11)
    at TLSSocket.socketErrorListener (node:_http_client:511:5)
    at TLSSocket.emit (node:events:531:35)
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch 3 times, most recently from 4f01602 to f8ec058 Compare July 15, 2024 10:35
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from f8ec058 to 559ff64 Compare July 22, 2024 11:05
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 559ff64 to bf7f012 Compare July 31, 2024 10:52
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from bf7f012 to 6c7047b Compare September 12, 2024 17:32
@renovate renovate bot force-pushed the renovate/major-vitest-monorepo branch from 6c7047b to 5e431af Compare September 13, 2024 17:31
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