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 vitest to v2.1.1 #496

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

Update vitest to v2.1.1 #496

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 15, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vitest/coverage-v8 (source) 2.0.5 -> 2.1.1 age adoption passing confidence
vitest (source) 2.0.5 -> 2.1.1 age adoption passing confidence

Release Notes

vitest-dev/vitest (@​vitest/coverage-v8)

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

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Berlin, 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 these updates 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 requested a review from Shinigami92 as a code owner July 15, 2024 21:55
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jul 15, 2024
@renovate renovate bot changed the title Update vitest to ~2.0.3 Update vitest to ~2.0.4 Jul 22, 2024
@renovate renovate bot changed the title Update vitest to ~2.0.4 Update vitest to ~2.0.5 Jul 31, 2024
@renovate renovate bot changed the title Update vitest to ~2.0.5 Update vitest to ~2.0.5 - autoclosed Sep 7, 2024
@renovate renovate bot closed this Sep 7, 2024
@renovate renovate bot deleted the renovate/vitest branch September 7, 2024 10:11
@renovate renovate bot restored the renovate/vitest branch September 7, 2024 10:16
@renovate renovate bot changed the title Update vitest to ~2.0.5 - autoclosed Update vitest to ~2.0.5 Sep 7, 2024
@renovate renovate bot reopened this Sep 7, 2024
@renovate renovate bot changed the title Update vitest to ~2.0.5 Pin dependencies Sep 7, 2024
@renovate renovate bot changed the title Pin dependencies Pin dependencies - autoclosed Sep 7, 2024
@renovate renovate bot closed this Sep 7, 2024
@renovate renovate bot deleted the renovate/vitest branch September 7, 2024 10:24
@renovate renovate bot changed the title Pin dependencies - autoclosed Pin dependencies Sep 12, 2024
@renovate renovate bot reopened this Sep 12, 2024
@renovate renovate bot restored the renovate/vitest branch September 12, 2024 14:40
@renovate renovate bot changed the title Pin dependencies Update vitest to v2.1.0 Sep 12, 2024
Copy link
Contributor

github-actions bot commented Sep 12, 2024

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 94.52% (🎯 90%)
🟰 ±0%
2606 / 2757
🟢 Statements 94.52% (🎯 90%)
🟰 ±0%
2606 / 2757
🟢 Functions 96.29% (🎯 90%)
🟰 ±0%
104 / 108
🟢 Branches 93.01% (🎯 90%)
🟰 ±0%
626 / 673
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Unchanged Files
src/doctype-shortcut-registry.ts 100% 100% 100% 100%
src/index.ts 93.18% 100% 71.42% 93.18% 78-80, 83-85
src/logger.ts 77.46% 90.9% 81.81% 77.46% 37-44, 46, 93-94, 153-157
src/printer.ts 93.93% 94.26% 100% 93.93% 330-331, 364-365, 507-509, 521-530, 535-548, 595-631, 646-647, 682-683, 739-743, 1071-1072, 1164-1165, 1190, 1202-1203, 1440-1441, 1483-1484, 1780-1786, 1824-1829
src/options/common.ts 100% 100% 100% 100%
src/options/constants.ts 100% 100% 100% 100%
src/options/converge.ts 100% 60% 100% 100%
src/options/index.ts 100% 100% 100% 100%
src/options/pug-attribute-separator.ts 90% 75% 100% 90% 51-54
src/options/pug-class-location.ts 100% 100% 100% 100%
src/options/pug-class-notation.ts 100% 100% 100% 100%
src/options/pug-closing-bracket-indent-depth.ts 100% 100% 100% 100%
src/options/pug-comment-preserve-spaces.ts 100% 100% 100% 100%
src/options/pug-explicit-div.ts 100% 100% 100% 100%
src/options/pug-framework.ts 100% 100% 100% 100%
src/options/pug-id-notation.ts 100% 100% 100% 100%
src/options/pug-preserve-attribute-brackets.ts 100% 100% 100% 100%
src/options/pug-single-file-component-indentation.ts 100% 100% 100% 100%
src/options/pug-wrap-attributes.ts 100% 100% 100% 100%
src/options/types.ts 100% 100% 100% 100%
src/options/attribute-sorting/index.ts 100% 100% 100% 100%
src/options/attribute-sorting/utils.ts 95.69% 94.44% 100% 95.69% 78-79, 87-88
src/options/empty-attributes/index.ts 100% 100% 100% 100%
src/options/empty-attributes/types.ts 100% 100% 100% 100%
src/options/empty-attributes/utils.ts 100% 100% 100% 100%
src/utils/angular.ts 100% 100% 100% 100%
src/utils/common.ts 89.67% 86.11% 100% 89.67% 19-20, 25-26, 52-53, 251-252, 254-255, 259-262, 320-321
src/utils/script-mime-types.ts 87.5% 83.33% 100% 87.5% 42-43, 49-50
src/utils/svelte.ts 100% 100% 100% 100%
src/utils/vue.ts 100% 100% 100% 100%
Generated in workflow #13

@renovate renovate bot changed the title Update vitest to v2.1.0 Update vitest to v2.1.1 Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants