Skip to content

Commit 778e3e2

Browse files
committed
docs(cn): dissolve the conflict
1 parent de6ab45 commit 778e3e2

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

api/browser/locators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ outline: [2, 3]
1212
::: tip
1313
本页介绍了 API 的使用。为了更好地了解定位器及其用法,请阅读 [Playwright 的“定位器”文档](https://playwright.dev/docs/locators)
1414
:::
15-
15+
<!-- TODO: translation -->
1616
::: tip Difference from `testing-library`
1717
Vitest's `page.getBy*` methods return a locator object, not a DOM element. This makes locator queries composable and allows Vitest to retry interactions and assertions when needed.
1818

guide/common-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ vitest --pool=forks
123123
```
124124

125125
:::
126-
126+
<!-- TODO: translation -->
127127
## Unhandled Promise Rejection
128128

129129
This error happens when a Promise rejects but no `.catch()` handler or `await` is attached to it before the microtask queue flushes. This behavior comes from JavaScript itself and is not specific to Vitest. Learn more in the [Node.js documentation](https://nodejs.org/api/process.html#event-unhandledrejection).

guide/recipes.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,6 @@ export default defineConfig({
1515
test: {
1616
projects: [
1717
{
18-
<<<<<<< HEAD
19-
// 禁用隔离的单元测试
20-
name: 'Unit tests',
21-
isolate: false,
22-
exclude: ['**.integration.test.ts'],
23-
},
24-
{
25-
// 集成隔离的测试
26-
name: 'Integration tests',
27-
include: ['**.integration.test.ts'],
28-
=======
2918
test: {
3019
// Non-isolated unit tests
3120
name: 'Unit tests',
@@ -39,7 +28,6 @@ export default defineConfig({
3928
name: 'Integration tests',
4029
include: ['**.integration.test.ts'],
4130
},
42-
>>>>>>> 533b7d49f571f3024e559dee4f55f67d7212a838
4331
},
4432
],
4533
},

0 commit comments

Comments
 (0)