Skip to content

Commit f0b854c

Browse files
authored
Merge branch 'main' into fix/9562-hide-skipped-tests-todo
2 parents 1fda324 + 4e6a23d commit f0b854c

45 files changed

Lines changed: 57 additions & 57 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Vitest
2020
Next generation testing framework powered by Vite.
2121
<p>
2222
<p align="center">
23-
<a href="https://www.npmjs.com/package/vitest"><img src="https://img.shields.io/npm/v/vitest?color=729B1B&label="></a>
23+
<a href="https://npmx.dev/package/vitest"><img src="https://img.shields.io/npm/v/vitest?color=729B1B&label="></a>
2424
<p>
2525

2626
<p align="center">

docs/.vitepress/theme/Intro.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
transform pipelines.
2222
</p>
2323
<p class="text-pretty">
24-
You can also use Vitest even if you are not using Vite. It is Jest-comptible
24+
You can also use Vitest even if you are not using Vite. It is Jest-compatible
2525
and works for backend code too.
2626
</p>
2727
<a href="/guide/why" target="_blank" class="button w-fit mt-8 block lg:hidden">Learn more</a>

docs/api/advanced/metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Vitest uses different methods to communicate with the Node.js process.
3838

3939
- If Vitest runs tests inside worker threads, it will send data via [message port](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort)
4040
- If Vitest uses child process, the data will be send as a serialized Buffer via [`process.send`](https://nodejs.org/api/process.html#processsendmessage-sendhandle-options-callback) API
41-
- If Vitest runs tests in the browser, the data will be stringified using [flatted](https://www.npmjs.com/package/flatted) package
41+
- If Vitest runs tests in the browser, the data will be stringified using [flatted](https://npmx.dev/package/flatted) package
4242

4343
This property is also present on every test in the `json` reporter, so make sure that data can be serialized into JSON.
4444

docs/api/advanced/test-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ project.globTestFiles(['basic/foo.js:10']) // ❌
233233
```
234234

235235
::: tip
236-
Vitest uses [fast-glob](https://www.npmjs.com/package/fast-glob) to find test files. `test.dir`, `test.root`, `root` or `process.cwd()` define the `cwd` option.
236+
Vitest uses [fast-glob](https://npmx.dev/package/fast-glob) to find test files. `test.dir`, `test.root`, `root` or `process.cwd()` define the `cwd` option.
237237

238238
This method looks at several config options:
239239

docs/api/browser/context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ utils.configurePrettyDOM({
292292
- **`maxLength`** - Maximum length of the output string (default: `7000`)
293293
- **`filterNode`** - A CSS selector string or function to filter out nodes from the output. When a string is provided, elements matching the selector will be excluded. When a function is provided, it should return `false` to exclude a node.
294294
- **`highlight`** - Enable syntax highlighting (default: `true`)
295-
- And other options from [`pretty-format`](https://www.npmjs.com/package/@vitest/pretty-format)
295+
- And other options from [`pretty-format`](https://npmx.dev/package/@vitest/pretty-format)
296296
297297
#### Filtering with CSS Selectors <Version>4.1.0</Version> {#filtering-with-css-selectors}
298298

docs/api/browser/locators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ outline: [2, 3]
77

88
A locator is a representation of an element or a number of elements. Every locator is defined by a string called a selector. Vitest abstracts this selector by providing convenient methods that generate them behind the scenes.
99

10-
The locator API uses a fork of [Playwright's locators](https://playwright.dev/docs/api/class-locator) called [Ivya](https://npmjs.com/ivya). However, Vitest provides this API to every [provider](/config/browser/provider), not just playwright.
10+
The locator API uses a fork of [Playwright's locators](https://playwright.dev/docs/api/class-locator) called [Ivya](https://npmx.dev/ivya). However, Vitest provides this API to every [provider](/config/browser/provider), not just playwright.
1111

1212
::: tip
1313
This page covers API usage. To better understand locators and their usage, read [Playwright's "Locators" documentation](https://playwright.dev/docs/locators).

docs/api/browser/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ outline: deep
44

55
# vitest-browser-react
66

7-
The community [`vitest-browser-react`](https://www.npmjs.com/package/vitest-browser-react) package renders [React](https://react.dev/) components in [Browser Mode](/guide/browser/).
7+
The community [`vitest-browser-react`](https://npmx.dev/package/vitest-browser-react) package renders [React](https://react.dev/) components in [Browser Mode](/guide/browser/).
88

99
```jsx
1010
import { render } from 'vitest-browser-react'

docs/api/browser/svelte.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ outline: deep
44

55
# vitest-browser-svelte
66

7-
The community [`vitest-browser-svelte`](https://www.npmjs.com/package/vitest-browser-svelte) package renders [Svelte](https://svelte.dev/) components in [Browser Mode](/guide/browser/).
7+
The community [`vitest-browser-svelte`](https://npmx.dev/package/vitest-browser-svelte) package renders [Svelte](https://svelte.dev/) components in [Browser Mode](/guide/browser/).
88

99
```ts
1010
import { render } from 'vitest-browser-svelte'

docs/api/browser/vue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ outline: deep
44

55
# vitest-browser-vue
66

7-
The community [`vitest-browser-vue`](https://www.npmjs.com/package/vitest-browser-vue) package renders [Vue](https://vuejs.org/) components in [Browser Mode](/guide/browser/).
7+
The community [`vitest-browser-vue`](https://npmx.dev/package/vitest-browser-vue) package renders [Vue](https://vuejs.org/) components in [Browser Mode](/guide/browser/).
88

99
```ts
1010
import { render } from 'vitest-browser-vue'

docs/api/expect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2113,7 +2113,7 @@ This method adds custom serializers that are called when creating a snapshot. Th
21132113
If you are adding custom serializers, you should call this method inside [`setupFiles`](/config/setupfiles). This will affect every snapshot.
21142114

21152115
:::tip
2116-
If you previously used Vue CLI with Jest, you might want to install [jest-serializer-vue](https://www.npmjs.com/package/jest-serializer-vue). Otherwise, your snapshots will be wrapped in a string, which cases `"` to be escaped.
2116+
If you previously used Vue CLI with Jest, you might want to install [jest-serializer-vue](https://npmx.dev/package/jest-serializer-vue). Otherwise, your snapshots will be wrapped in a string, which cases `"` to be escaped.
21172117
:::
21182118

21192119
## expect.extend

0 commit comments

Comments
 (0)