Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 12, 2024

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 a team as a code owner September 12, 2024 16:10
@renovate renovate bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 12, 2024
@renovate renovate bot enabled auto-merge (squash) September 12, 2024 16:10
Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.34%. Comparing base (cfa5882) to head (4ab19c5).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2541   +/-   ##
=======================================
  Coverage   89.34%   89.34%           
=======================================
  Files         100      100           
  Lines        7630     7630           
  Branches       50       50           
=======================================
  Hits         6817     6817           
  Misses        756      756           
  Partials       57       57           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 174a8c0 to 9770922 Compare September 12, 2024 16:39
| datasource | package             | from  | to    |
| ---------- | ------------------- | ----- | ----- |
| npm        | @vitest/coverage-v8 | 2.0.5 | 2.1.0 |
| npm        | vitest              | 2.0.5 | 2.1.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/vitest-monorepo branch from 9770922 to 4ab19c5 Compare September 12, 2024 17:19
@renovate renovate bot merged commit dc13d35 into main Sep 12, 2024
38 checks passed
@renovate renovate bot deleted the renovate/vitest-monorepo branch September 12, 2024 17:38
miledxz added a commit to miledxz/nginx-gateway-fabric that referenced this pull request Jan 14, 2025
| datasource | package             | from  | to    |
| ---------- | ------------------- | ----- | ----- |
| npm        | @vitest/coverage-v8 | 2.0.5 | 2.1.0 |
| npm        | vitest              | 2.0.5 | 2.1.0 |

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants