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.29.2 #9

Merged
merged 1 commit into from Mar 2, 2023

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 1, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest 0.12.6 -> 0.29.2 age adoption passing confidence

Release Notes

vitest-dev/vitest

v0.29.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.29.0

Compare Source

This release makes some significant changes to how tests are running. If you were using --no-threads before, you might consider enabling --single-thread instead (because your tests are now running in child_process instead of a worker thread) or try our new performance optimization feature (discussed later). If you were relying on API that was not available inside a worker (like process.chdir(), you can now use this option.

One of the potential breaking bug fixes is that environments do not share the same global scope anymore if you run them with --no-isolate, --no-threads or --single-thread - you might need to update your setup files if you were relying on a global variable before.

If you had performance issues on large code bases before, try the new deps.experimentalOptimizer option instead of disabling threads. Feedback is welcome!

One of the breaking changes includes adding a link to snapshots inside snapshot files, meaning you will need to update all your snapshots.

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.28.5

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.28.4

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.28.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.28.2

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.28.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.28.0

Compare Source

   🚨 Breaking Changes
   🐞 Bug Fixes
    View changes on GitHub

v0.27.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.27.2

Compare Source

   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.27.1

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.27.0

Compare Source

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
    View changes on GitHub

v0.26.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.26.2

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.26.1

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.26.0

Compare Source

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.25.8

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.25.7

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.25.6

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.25.5

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.25.4

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.25.3

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

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

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.

@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.28.3 chore(deps): update dependency vitest to v0.28.4 Feb 3, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.28.4 chore(deps): update dependency vitest to v0.28.5 Feb 13, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.28.5 chore(deps): update dependency vitest to v0.29.1 Feb 25, 2023
@renovate renovate bot changed the title chore(deps): update dependency vitest to v0.29.1 chore(deps): update dependency vitest to v0.29.2 Feb 28, 2023
@2nthony 2nthony merged commit 22fbe80 into main Mar 2, 2023
@2nthony 2nthony deleted the renovate/vitest-monorepo branch March 2, 2023 12:28
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.

None yet

1 participant