vitest-dev/vitest
### [`v0.28.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.5)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.4...v0.28.5)
##### 🚀 Features
- Add --script option to vite-node - by [@jgoux](https://togithub.com/jgoux) and [@dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2793](https://togithub.com/vitest-dev/vitest/issues/2793) [(d3d6b)](https://togithub.com/vitest-dev/vitest/commit/d3d6b1fc)
- Inject executor directly into runner - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2858](https://togithub.com/vitest-dev/vitest/issues/2858) [(62c43)](https://togithub.com/vitest-dev/vitest/commit/62c43420)
##### 🐞 Bug Fixes
- Don't call "afterAll" hooks, if suite was skipped - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2802](https://togithub.com/vitest-dev/vitest/issues/2802) [(aa1aa)](https://togithub.com/vitest-dev/vitest/commit/aa1aa4da)
- Always display serialized error, even if it doesn't have stack - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2829](https://togithub.com/vitest-dev/vitest/issues/2829) [(ab5f8)](https://togithub.com/vitest-dev/vitest/commit/ab5f8927)
- Clear mocks between tests - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2857](https://togithub.com/vitest-dev/vitest/issues/2857) [(c420c)](https://togithub.com/vitest-dev/vitest/commit/c420cb7b)
- **expect**:
- Check for no 'throw' type in toHaveReturned - by [@trivikr](https://togithub.com/trivikr) in [https://github.com/vitest-dev/vitest/issues/2850](https://togithub.com/vitest-dev/vitest/issues/2850) [(1164c)](https://togithub.com/vitest-dev/vitest/commit/1164c478)
- Accept array index as number in toHaveProperty - by [@trivikr](https://togithub.com/trivikr) in [https://github.com/vitest-dev/vitest/issues/2808](https://togithub.com/vitest-dev/vitest/issues/2808) [(8705e)](https://togithub.com/vitest-dev/vitest/commit/8705e6b2)
##### 🏎 Performance
- Don't inline Vitest entry - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2819](https://togithub.com/vitest-dev/vitest/issues/2819) [(570c6)](https://togithub.com/vitest-dev/vitest/commit/570c639e)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.4...v0.28.5)
Configuration
📅 Schedule: Branch creation - "after 10pm,before 6:00am" in timezone Europe/Warsaw, 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 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.
### 🚀 Website Preview
The latest changes to the website are available as preview in: [https://22fe8b13.graphql-config.pages.dev](https://22fe8b13.graphql-config.pages.dev)
This PR contains the following updates:
0.28.4
->0.28.5
Release Notes
vitest-dev/vitest
### [`v0.28.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.28.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.28.4...v0.28.5) ##### 🚀 Features - Add --script option to vite-node - by [@jgoux](https://togithub.com/jgoux) and [@dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2793](https://togithub.com/vitest-dev/vitest/issues/2793) [(d3d6b)](https://togithub.com/vitest-dev/vitest/commit/d3d6b1fc) - Inject executor directly into runner - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2858](https://togithub.com/vitest-dev/vitest/issues/2858) [(62c43)](https://togithub.com/vitest-dev/vitest/commit/62c43420) ##### 🐞 Bug Fixes - Don't call "afterAll" hooks, if suite was skipped - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2802](https://togithub.com/vitest-dev/vitest/issues/2802) [(aa1aa)](https://togithub.com/vitest-dev/vitest/commit/aa1aa4da) - Always display serialized error, even if it doesn't have stack - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2829](https://togithub.com/vitest-dev/vitest/issues/2829) [(ab5f8)](https://togithub.com/vitest-dev/vitest/commit/ab5f8927) - Clear mocks between tests - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2857](https://togithub.com/vitest-dev/vitest/issues/2857) [(c420c)](https://togithub.com/vitest-dev/vitest/commit/c420cb7b) - **expect**: - Check for no 'throw' type in toHaveReturned - by [@trivikr](https://togithub.com/trivikr) in [https://github.com/vitest-dev/vitest/issues/2850](https://togithub.com/vitest-dev/vitest/issues/2850) [(1164c)](https://togithub.com/vitest-dev/vitest/commit/1164c478) - Accept array index as number in toHaveProperty - by [@trivikr](https://togithub.com/trivikr) in [https://github.com/vitest-dev/vitest/issues/2808](https://togithub.com/vitest-dev/vitest/issues/2808) [(8705e)](https://togithub.com/vitest-dev/vitest/commit/8705e6b2) ##### 🏎 Performance - Don't inline Vitest entry - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2819](https://togithub.com/vitest-dev/vitest/issues/2819) [(570c6)](https://togithub.com/vitest-dev/vitest/commit/570c639e) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.28.4...v0.28.5)Configuration
📅 Schedule: Branch creation - "after 10pm,before 6:00am" in timezone Europe/Warsaw, 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 this update again.
This PR has been generated by Mend Renovate. View repository job log here.