Skip to content

Commit 021bf1a

Browse files
committed
docs: update content
1 parent 7a96d18 commit 021bf1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guide/migration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ test('validation works', () => {
2929
}, 1000) // Ok ✅
3030
```
3131

32-
### `browser.name` and `browser.providerOptions` are Deprecated
32+
### `browser.name` `browser.providerOptions` 已弃用
3333

34-
Both [`browser.name`](/guide/browser/config#browser-name) and [`browser.providerOptions`](/guide/browser/config#browser-provideroptions) will be removed in Vitest 4. Instead of them, use the new [`browser.instances`](/guide/browser/config#browser-instances) option:
34+
[`browser.name`](/guide/browser/config#browser-name) [`browser.providerOptions`](/guide/browser/config#browser-provideroptions) 都将在 Vitest 4 中删除。请使用新的 [`browser.instances`](/guide/browser/config#browser-instances) 选项来代替它们:
3535

3636
```ts
3737
export default defineConfig({
@@ -52,7 +52,7 @@ export default defineConfig({
5252
})
5353
```
5454

55-
With the new `browser.instances` field you can also specify multiple browser configurations.
55+
使用新的 `browser.instances` 字段,我们还可以指定多个浏览器配置。
5656

5757
### `Custom` Type is Deprecated <Badge type="danger">API</Badge> {#custom-type-is-deprecated}
5858

0 commit comments

Comments
 (0)