Skip to content

Commit

Permalink
chore(deps): update dependency vitest to v0.25.1 (#1185)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest) | [`0.24.5` ->
`0.25.1`](https://renovatebot.com/diffs/npm/vitest/0.24.5/0.25.1) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/compatibility-slim/0.24.5)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/confidence-slim/0.24.5)](https://docs.renovatebot.com/merge-confidence/)
|
| [vitest](https://togithub.com/vitest-dev/vitest) | [`0.24.3` ->
`0.25.1`](https://renovatebot.com/diffs/npm/vitest/0.24.3/0.25.1) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/compatibility-slim/0.24.3)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.25.1/confidence-slim/0.24.3)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest</summary>

###
[`v0.25.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.1)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.0...v0.25.1)

#####    🚀 Features

- Add `vi.setConfig` helper  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2293
- Allow hooks to be executed in a stack or list  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2294

#####    🐞 Bug Fixes

- Always rewrite defined jsdom keys  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2290
- Default reporter regression  -  by
[@&#8203;antfu](https://togithub.com/antfu) in
[vitest-dev/vitest#2292
- Don't fail `bench` when using options  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) in
[vitest-dev/vitest#2295

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.0...v0.25.1)

###
[`v0.25.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.25.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.24.5...v0.25.0)

#####    ✅ 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.

```ts
// 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](https://vitest.dev/guide/testing-types.html) and this
[RFC](https://togithub.com/vitest-dev/vitest/issues/1954)

#####    🚨 Breaking Changes

- Return context in `startVitest()`  -  by
[@&#8203;antfu](https://togithub.com/antfu) in
[vitest-dev/vitest#2072

#####    🚀 Features

- `onTestFailed` hook  -  by [@&#8203;antfu](https://togithub.com/antfu)
in
[vitest-dev/vitest#2210
- Display error frame if present (like Vite)  -  by
[@&#8203;haikyuu](https://togithub.com/haikyuu) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2257
- Benchmark table report  -  by
[@&#8203;poyoho](https://togithub.com/poyoho) in
[vitest-dev/vitest#2179
- Add typechecking functionality  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;antfu](https://togithub.com/antfu) in
[vitest-dev/vitest#2107

#####    🐞 Bug Fixes

- Clear full screen only in watch mode  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(c3d89)</samp>](https://togithub.com/vitest-dev/vitest/commit/c3d89504)
- Don't serialize symbols and immutables  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2266
- Use --conditions instead of -C  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2267
- Show correct stack trace in errors and console  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;antfu](https://togithub.com/antfu) in
[vitest-dev/vitest#2248
- Align `.each` behavior with jest  -  by
[@&#8203;bartoszgolebiowski](https://togithub.com/bartoszgolebiowski)
and [@&#8203;antfu](https://togithub.com/antfu) in
[vitest-dev/vitest#2064
- Remove undefined values in options  -  by
[@&#8203;g4rry420](https://togithub.com/g4rry420) and
[@&#8203;antfu](https://togithub.com/antfu) in
[vitest-dev/vitest#2281
- **coverage**: Istanbul provider to preserve implicit else  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#2275

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.24.5...v0.25.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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 these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/fwouts/previewjs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Nov 10, 2022
1 parent 316e0a7 commit 28b0dc1
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 80 deletions.
2 changes: 1 addition & 1 deletion app-foundations/package.json
Expand Up @@ -62,6 +62,6 @@
"tailwindcss": "3.2.3",
"typescript": "4.8.4",
"unbuild": "0.9.1",
"vitest": "0.24.5"
"vitest": "0.25.1"
}
}
2 changes: 1 addition & 1 deletion csf3/package.json
Expand Up @@ -37,6 +37,6 @@
"devDependencies": {
"@previewjs/vfs": "workspace:*",
"unbuild": "0.9.1",
"vitest": "0.24.5"
"vitest": "0.25.1"
}
}
2 changes: 1 addition & 1 deletion frameworks/react/package.json
Expand Up @@ -45,6 +45,6 @@
"react": "18.2.0",
"rimraf": "3.0.2",
"vite": "3.2.3",
"vitest": "0.24.5"
"vitest": "0.25.1"
}
}
2 changes: 1 addition & 1 deletion frameworks/solid/package.json
Expand Up @@ -45,6 +45,6 @@
"rimraf": "3.0.2",
"solid-js": "1.6.1",
"vite": "3.2.3",
"vitest": "0.24.5"
"vitest": "0.25.1"
}
}
2 changes: 1 addition & 1 deletion frameworks/svelte/package.json
Expand Up @@ -41,6 +41,6 @@
"@types/fs-extra": "^9.0.13",
"rimraf": "3.0.2",
"vite": "3.2.3",
"vitest": "0.24.5"
"vitest": "0.25.1"
}
}
2 changes: 1 addition & 1 deletion frameworks/vue2/package.json
Expand Up @@ -43,6 +43,6 @@
"@types/fs-extra": "9.0.13",
"rimraf": "3.0.2",
"vite": "3.2.3",
"vitest": "0.24.5"
"vitest": "0.25.1"
}
}
2 changes: 1 addition & 1 deletion frameworks/vue3/package.json
Expand Up @@ -48,6 +48,6 @@
"@types/fs-extra": "9.0.13",
"rimraf": "3.0.2",
"vite": "3.2.3",
"vitest": "0.24.5"
"vitest": "0.25.1"
}
}
100 changes: 31 additions & 69 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion properties/package.json
Expand Up @@ -35,6 +35,6 @@
},
"devDependencies": {
"unbuild": "0.9.1",
"vitest": "0.24.3"
"vitest": "0.25.1"
}
}
2 changes: 1 addition & 1 deletion serializable-values/package.json
Expand Up @@ -39,6 +39,6 @@
"devDependencies": {
"@types/prettier": "2.7.1",
"unbuild": "0.9.1",
"vitest": "0.24.5"
"vitest": "0.25.1"
}
}
2 changes: 1 addition & 1 deletion type-analyzer/package.json
Expand Up @@ -40,6 +40,6 @@
"@types/prettier": "2.7.1",
"lodash": "^4.17.21",
"unbuild": "0.9.1",
"vitest": "0.24.5"
"vitest": "0.25.1"
}
}
2 changes: 1 addition & 1 deletion vfs/package.json
Expand Up @@ -37,6 +37,6 @@
"devDependencies": {
"@types/fs-extra": "9.0.13",
"unbuild": "0.9.1",
"vitest": "0.24.5"
"vitest": "0.25.1"
}
}

0 comments on commit 28b0dc1

Please sign in to comment.