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.25.0 #169

Merged
merged 1 commit into from
Nov 19, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 17, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest ^0.24.5 -> ^0.25.0 age adoption passing confidence

Release Notes

vitest-dev/vitest

v0.25.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.25.1

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.25.0

Compare Source

   ✅ Builtin TypeChecking

In v0.25.0, Vitest allows you to write tests for your types, using expectTypeOf or assertType syntaxes. By default all tests inside *.test-d.ts files are considered type tests. Run vitest typecheck to run type tests.

// my.test-d.ts
import { assertType, expectTypeOf } from 'vitest'
import { mount } from './mount.js'

test('my types work properly', () => {
  expectTypeOf(mount).toBeFunction()
  expectTypeOf(mount).parameter(0).toMatchTypeOf<{ name: string }>()

  // @&#8203;ts-expect-error name is a string
  assertType(mount({ name: 42 }))
})

Learn more at the documentation and this RFC

   🚨 Breaking Changes
   🚀 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.

@ppodds ppodds added the dependencies Pull requests that update a dependency file label Nov 19, 2022
@ppodds ppodds merged commit f8eb0cd into master Nov 19, 2022
@renovate renovate bot deleted the renovate/vitest-monorepo branch November 19, 2022 07:11
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.

1 participant