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 v0.25.1 #1185

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 9, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest 0.24.5 -> 0.25.1 age adoption passing confidence
vitest 0.24.3 -> 0.25.1 age adoption passing confidence

Release Notes

vitest-dev/vitest

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: Enabled.

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot merged commit 28b0dc1 into main Nov 10, 2022
@renovate renovate bot deleted the renovate/vitest-monorepo branch November 10, 2022 04:46
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