Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • W waterdataui
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

The GitLab email notification service is currently down. Users will not receive email notifications for any GitLab actions or activity. CHS has scheduled maintenance for Monday, April 3rd at 15:00 MST to address the issue. Expected downtime <1 hour.

  • Water Mission Area
  • Internet of Water
  • waterdataui
  • Merge requests
  • !701

Update dependency vitest to v0.29.3 - autoclosed

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed igswsihw-wmadepbot requested to merge renovate/vitest-0.x into main Jan 22, 2023
  • Overview 0
  • Commits 1
  • Changes 2

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest 0.28.4 -> 0.29.3 age adoption passing confidence

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the logs for more information.


Release Notes

vitest-dev/vitest

v0.29.3

Compare Source

   🚀 Features
  • Use custom colors implementation instead of picocolors  -  by @​sheremet-va (427b0)
  • Uncaught errors to indicate env teardown  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2982 (1fe82)
  • config: Add an option to run setupFiles in sequence  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/3008 (c2e25)
   🐞 Bug Fixes
  • Console log not visible  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2943 (02808)
  • Remove duplicate execArgv when deps.registerNodeLoader: true  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2965 (a1954)
  • Prevent running test cases timers after environment teardown  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2971 (bde75)
  • Don't mark setupFiles as test files, if experimentaOptimizer is used  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2974 (819c6)
  • Config errors not visible  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2995 (f01c7)
  • --inspect to work inside workers  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2983 (36087)
  • types: Use any as default value for TArgs in vi.fn()  -  by @​jessevanassen in https://github.com/vitest-dev/vitest/issues/2947 (1bdcc)
   🏎 Performance
  • reporters: Overall improvements  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/3006 (22ca0)
    View changes on GitHub

v0.29.2

Compare Source

   🐞 Bug Fixes
  • Optimize dependencies in setup files  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2935 (c169f)
  • coverage: C8 provider to work when isolate:false  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2929 (86538)
    View changes on GitHub

v0.29.1

Compare Source

   🐞 Bug Fixes
  • Wait for optimized dependency to be bundled in non-pnpm package managers  -  by @​sheremet-va (d2460)
    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
  • Vitest as peer dependency for coverage packages  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2836 (94247)
  • Coverage-c8 to use V8 profiler directly instead of NODE_V8_COVERAGE  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2786 (095c6)
  • Add a link to the comment at the top of the snapshot file  -  by @​btea in https://github.com/vitest-dev/vitest/issues/2867 (615e1)
  • Always run separate environments in isolation  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2860 (1f858)
    • Tests with node and jsdom (and other environments) now don't share the same global scope, if you run them with --no-isolate or --no-threads flag. Vitest doesn't provide a way to restore the previous behavior as it is considered a bug.
  • Use child_process when --no-threads is used  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2772 (7bf54)
    • Tests inside chid_process might run longer due to the communication overhead. If you want to restore the previous behavior, use --single-thread.
   🚀 Features
  • Add test seed to banner  -  by @​btkostner in https://github.com/vitest-dev/vitest/issues/2877 (bdb39)
  • Use custom source-map-support implementation  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2905 (6ff6c)
  • Add an option to enable Vite optimizer  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2912 (af8de)
  • coverage:
    • Add support for coverage reporter options  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2690 (f8176)
    • Automatic threshold updating  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2886 (e1652)
  • spy:
    • Implement mock.withImplementation API  -  by @​obadakhalili and @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2835 (610b1)
  • vite-node:
    • Cli option for vite mode  -  by @​abarke in https://github.com/vitest-dev/vitest/issues/2893 (0fc08)
   🐞 Bug Fixes
  • Wait for console.log to print a message before terminating a worker  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2861 (fbc54)
  • Cleanup last mocked cache when call vi.doMock  -  by @​mysteryven in https://github.com/vitest-dev/vitest/issues/2872 (65d71)
  • Reload changed configuration file on watch mode  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2889 (4d277)
  • coverage: Custom providers to work inside worker threads  -  by @​AriPerkkio in https://github.com/vitest-dev/vitest/issues/2817 (81604)
    View changes on GitHub

v0.28.5

Compare Source

   🚀 Features
  • Add --script option to vite-node  -  by @​jgoux and @​dammy001 in https://github.com/vitest-dev/vitest/issues/2793 (d3d6b)
  • Inject executor directly into runner  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2858 (62c43)
   🐞 Bug Fixes
  • Don't call "afterAll" hooks, if suite was skipped  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2802 (aa1aa)
  • Always display serialized error, even if it doesn't have stack  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2829 (ab5f8)
  • Clear mocks between tests  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2857 (c420c)
  • expect:
    • Check for no 'throw' type in toHaveReturned  -  by @​trivikr in https://github.com/vitest-dev/vitest/issues/2850 (1164c)
    • Accept array index as number in toHaveProperty  -  by @​trivikr in https://github.com/vitest-dev/vitest/issues/2808 (8705e)
   🏎 Performance
  • Don't inline Vitest entry  -  by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2819 (570c6)
    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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited Mar 16, 2023 by igswsihw-wmadepbot
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: renovate/vitest-0.x