wdio-video-reporter
wdio-video-reporter copied to clipboard
chore(deps-dev): Bump vitest and @vitest/coverage-v8
Bumps vitest and @vitest/coverage-v8. These dependencies needed to be updated together.
Updates vitest
from 1.6.0 to 2.0.0
Release notes
Sourced from vitest's releases.
v2.0.0
Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
🚨 Breaking Changes
- Simplify mock function generic types and align with jest - by
@hi-ogawa
in vitest-dev/vitest#4784 (a0c1d37)- Remove
--segfault-retry
- by@sheremet-va
in vitest-dev/vitest#5514 (ed60e)
- This flag was introduced to combat
threads
segfaults. Our current recommendation is to use the new defaultforks
pool instead.- Run suite hooks in a stack - by
@sheremet-va
in vitest-dev/vitest#5609 (1277d)
- This feels like a more sensible default. Especially with the new
onTestFinished
hook. This can make your tests run a little bit slower.- Enable
coverage.ignoreEmptyLines
by default - by@AriPerkkio
in vitest-dev/vitest#5543 (31994)
- ⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See vitest-dev/vitest#5423 for more details.
- Add correct location and snapshot fields in json reporter - by
@sheremet-va
in vitest-dev/vitest#5434 (bcccc)
- Previously, the
location
field pointed to the error location instead of the test location. Now it is aligned with jest and contains theline
andcolumn
of a test function, but requiresincludeTaskLocation
to be enabled.- Update dependency chai to v5 - by renovate[bot] and
@sheremet-va
in vitest-dev/vitest#5135 (73646)- Remove watchExclude - by
@patak-dev
in vitest-dev/vitest#5177 (d7371)- Change default
pool
to'forks'
- by@AriPerkkio
in vitest-dev/vitest#5047 (7f8f9)
- This change is done for compatibility issues
- This pool may be slightly slower than previous
threads
pool: https://vitest.dev/guide/improving-performance.html#pool--merge-reports
to support coverage - by@AriPerkkio
in vitest-dev/vitest#5736 (b7438)- Add promise-based return assertions, do not auto-resolve returned promises - by
@sheremet-va
in vitest-dev/vitest#5749 (5f710)
- ⚠️ Vitest no longer unwraps promises in
spy.mock.returns
. If the function is async or returns a promise, it will always succeed and have aPromise
inresults
. To make migration easier, we introducedspy.mock.settledResults
that unwraps promises andexpect().toHaveResolved()
matcher that accepts unwrapped value.- Do not exit process if global setup has failed - by
@sheremet-va
in vitest-dev/vitest#5726 (ddb09)- Don't exit process if config failed - by
@sheremet-va
in vitest-dev/vitest#5715 (f232f)- Add meta to
json
output - by@sheremet-va
in vitest-dev/vitest#5802 (dd754)- Rename
indexScripts
toorchestratorScripts
in the browser config - by@sheremet-va
in vitest-dev/vitest#5842 (49f34)- Add "vitest list" API to print collected tests without running them - by
@sheremet-va
in vitest-dev/vitest#6013 (583dd)
- ⚠️ This changes the custom
pool
API - now requirescollectTests
method alongsiderunTests
.- Remove the empty suite from the runner - by
@sheremet-va
in vitest-dev/vitest#5435 (dbbbe)- Support concurrent suites - by
@hi-ogawa
in vitest-dev/vitest#5491 (222ce44)🚀 Features
- Pretty print diffs coming from cause - by
@dubzzz
in vitest-dev/vitest#5660 (6faf8)- Allow import statement as vi.mock path for better IDE support - by
@sheremet-va
in vitest-dev/vitest#5690 (a99a1)- Remove deprecated options - by
@sheremet-va
in vitest-dev/vitest#5696 (5c308)- Add blob reporter - by
@sheremet-va
in vitest-dev/vitest#5663 (e2053)- Add expect.poll utility - by
@sheremet-va
in vitest-dev/vitest#5708 (e2e0f)- Add browser.ui option - by
@sheremet-va
in vitest-dev/vitest#5771 (a5033)- Add median to
--output-json
- by@Joristdh
in vitest-dev/vitest#5745 (0766b)- Allow augmenting config.test.env - by
@sheremet-va
in vitest-dev/vitest#5784 (b2469)- Implement module mocking in browser mode - by
@sheremet-va
in vitest-dev/vitest#5765 (7b2f6)- Allow configuring expect options in the config - by
@sheremet-va
in vitest-dev/vitest#5729 (fc53f)- Add an option to print console stack trace - by
@sheremet-va
in vitest-dev/vitest#5720 (e4fe6)- Add browser frame to UI - by
@sheremet-va
in vitest-dev/vitest#5808 (3796d)- Image type add bmp - by btea in vitest-dev/vitest#5921 (98f9b)
- Add an option to return base64 from page.screenshot - by
@sheremet-va
in vitest-dev/vitest#5993 (be323)- Expose
parseAst
,parseAstAsync
from vite - by@sheremet-va
(f645e)- browser:
- Add commands to communicate betweens server and the browser - by
@sheremet-va
in vitest-dev/vitest#5097 (aa431)
... (truncated)
Commits
1b150a3
chore: release v2.0.05131992
docs: default pool in the types of 2.0 config (#6043)5611895
chore: release v2.0.0-beta.138f65ae9
fix: transpile esnext to node18 to support newest JS and TS features (#4409)583dd8a
feat(vitest)!: add "vitest list" API to print collected tests without running...f645e48
feat: exposeparseAst
,parseAstAsync
from vite91ba6f9
fix(vitest): show all failed tests when rerunning a test (#6022)a820b15
docs: add mock fs section (#6021)05d5f38
chore(deps): update all non-major dependencies (#5957)c8d56fe
fix(vitest): allow testing unandled rejection/exception (#6016)- Additional commits viewable in compare view
Updates @vitest/coverage-v8
from 1.6.0 to 2.0.0
Release notes
Sourced from @vitest/coverage-v8
's releases.
v2.0.0
Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
🚨 Breaking Changes
- Simplify mock function generic types and align with jest - by
@hi-ogawa
in vitest-dev/vitest#4784 (a0c1d37)- Remove
--segfault-retry
- by@sheremet-va
in vitest-dev/vitest#5514 (ed60e)
- This flag was introduced to combat
threads
segfaults. Our current recommendation is to use the new defaultforks
pool instead.- Run suite hooks in a stack - by
@sheremet-va
in vitest-dev/vitest#5609 (1277d)
- This feels like a more sensible default. Especially with the new
onTestFinished
hook. This can make your tests run a little bit slower.- Enable
coverage.ignoreEmptyLines
by default - by@AriPerkkio
in vitest-dev/vitest#5543 (31994)
- ⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See vitest-dev/vitest#5423 for more details.
- Add correct location and snapshot fields in json reporter - by
@sheremet-va
in vitest-dev/vitest#5434 (bcccc)
- Previously, the
location
field pointed to the error location instead of the test location. Now it is aligned with jest and contains theline
andcolumn
of a test function, but requiresincludeTaskLocation
to be enabled.- Update dependency chai to v5 - by renovate[bot] and
@sheremet-va
in vitest-dev/vitest#5135 (73646)- Remove watchExclude - by
@patak-dev
in vitest-dev/vitest#5177 (d7371)- Change default
pool
to'forks'
- by@AriPerkkio
in vitest-dev/vitest#5047 (7f8f9)
- This change is done for compatibility issues
- This pool may be slightly slower than previous
threads
pool: https://vitest.dev/guide/improving-performance.html#pool--merge-reports
to support coverage - by@AriPerkkio
in vitest-dev/vitest#5736 (b7438)- Add promise-based return assertions, do not auto-resolve returned promises - by
@sheremet-va
in vitest-dev/vitest#5749 (5f710)
- ⚠️ Vitest no longer unwraps promises in
spy.mock.returns
. If the function is async or returns a promise, it will always succeed and have aPromise
inresults
. To make migration easier, we introducedspy.mock.settledResults
that unwraps promises andexpect().toHaveResolved()
matcher that accepts unwrapped value.- Do not exit process if global setup has failed - by
@sheremet-va
in vitest-dev/vitest#5726 (ddb09)- Don't exit process if config failed - by
@sheremet-va
in vitest-dev/vitest#5715 (f232f)- Add meta to
json
output - by@sheremet-va
in vitest-dev/vitest#5802 (dd754)- Rename
indexScripts
toorchestratorScripts
in the browser config - by@sheremet-va
in vitest-dev/vitest#5842 (49f34)- Add "vitest list" API to print collected tests without running them - by
@sheremet-va
in vitest-dev/vitest#6013 (583dd)
- ⚠️ This changes the custom
pool
API - now requirescollectTests
method alongsiderunTests
.- Remove the empty suite from the runner - by
@sheremet-va
in vitest-dev/vitest#5435 (dbbbe)- Support concurrent suites - by
@hi-ogawa
in vitest-dev/vitest#5491 (222ce44)🚀 Features
- Pretty print diffs coming from cause - by
@dubzzz
in vitest-dev/vitest#5660 (6faf8)- Allow import statement as vi.mock path for better IDE support - by
@sheremet-va
in vitest-dev/vitest#5690 (a99a1)- Remove deprecated options - by
@sheremet-va
in vitest-dev/vitest#5696 (5c308)- Add blob reporter - by
@sheremet-va
in vitest-dev/vitest#5663 (e2053)- Add expect.poll utility - by
@sheremet-va
in vitest-dev/vitest#5708 (e2e0f)- Add browser.ui option - by
@sheremet-va
in vitest-dev/vitest#5771 (a5033)- Add median to
--output-json
- by@Joristdh
in vitest-dev/vitest#5745 (0766b)- Allow augmenting config.test.env - by
@sheremet-va
in vitest-dev/vitest#5784 (b2469)- Implement module mocking in browser mode - by
@sheremet-va
in vitest-dev/vitest#5765 (7b2f6)- Allow configuring expect options in the config - by
@sheremet-va
in vitest-dev/vitest#5729 (fc53f)- Add an option to print console stack trace - by
@sheremet-va
in vitest-dev/vitest#5720 (e4fe6)- Add browser frame to UI - by
@sheremet-va
in vitest-dev/vitest#5808 (3796d)- Image type add bmp - by btea in vitest-dev/vitest#5921 (98f9b)
- Add an option to return base64 from page.screenshot - by
@sheremet-va
in vitest-dev/vitest#5993 (be323)- Expose
parseAst
,parseAstAsync
from vite - by@sheremet-va
(f645e)- browser:
- Add commands to communicate betweens server and the browser - by
@sheremet-va
in vitest-dev/vitest#5097 (aa431)
... (truncated)
Commits
1b150a3
chore: release v2.0.05611895
chore: release v2.0.0-beta.13368c137
fix(coverage): remove work-around for implicitelse
(#6014)05d5f38
chore(deps): update all non-major dependencies (#5957)169bc1f
fix(coverage): support overridingexclude
(#5997)cd9cc6b
chore: release v2.0.0-beta.12fca8b92
chore(deps): updatev8-to-istanbul
(#5958)7080513
fix(coverage): pass thresholds errors tostderr
ofstartVitest()
(#5954)3fd15ba
chore: release v2.0.0-beta.11471cf97
chore: always require curly braces (#5885)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)