chore(deps): update dependency vitest to v0.10.0 #1864
No reviewers
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#1864
Loading…
Reference in New Issue
No description provided.
Delete Branch "renovate/vitest-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.9.4
->0.10.0
Release Notes
vitest-dev/vitest
v0.10.0
Compare Source
Breaking Changes
From Vitest v0.10.0, the callback style of declaring tests is deprecated. You can rewrite them to use
async
/await
functions, or use Promise to mimic the callback style.Features
beforeAll
/beforeEach
cleanup callbackbeforeAll
/beforeEach
now accepts an optional cleanup function as the return value (equivalent toafterAll
/afterEach
).Learn more at:
beforeAll
beforeEach
Test Context
Inspired by Playwright Fixtures, Vitest's test context allows you to define utils, states, and fixtures that can be used in your tests.
Learn more at Test Context
Concurrent Snapshot
Due to the limitation of JavaScript, timing based Singleton pattern will cause conflicts when running multiple async functions in concurrent. Previously reported as #551. Thanks to the newly introduced Test Context, we can now provide a test specific
expect
instance to avoid conflicts. To use it, you can destructure theexpect
from each test context instead of the global one.Reporter from file / package
Now you can pass a path to file, or a package name to the
reporters
options to use custom reporter. Thanks to @ericjgagnon (#1136) (f2bceb2)Bug Fixes
Configuration
📅 Schedule: 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.
This PR has been generated by Renovate Bot.
Hi renovate!
Thank you for creating a PR!
I've deployed the changes of this PR on a preview environment under this URL: https://1864-renovate-vitest-0-x--vikunja-frontend-preview.netlify.app
You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.
Have a nice day!
d9e5515de1
to8fc10e434e
8fc10e434e
to120df8d4b0
Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will now ignore this update (0.10.0). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the
ignoreDeps
array of your renovate config.If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.