Skip to content

Commit 32505be

Browse files
committed
Formatting
1 parent 46b5e06 commit 32505be

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/svelte-testing-library/api.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ const {results} = render(YourComponent, {myProp: 'value'})
7070

7171
## `cleanup`
7272

73-
> You don't need to import or use this, it's done automagically for you with `globals: true` in your test config!
73+
> You don't need to import or use this, it's done automagically for you with
74+
> `globals: true` in your test config!
7475
7576
Unmounts the component from the container and destroys the container.
7677

docs/svelte-testing-library/setup.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ npm install --save-dev @vitest/ui
4646
npm install --save-dev @sveltejs/vite-plugin-svelte vite
4747
```
4848

49-
3. Add a `vitest.config.ts` configuration file to the root of your project. Add `globals: true` so `cleanup()` runs after each test.
49+
3. Add a `vitest.config.ts` configuration file to the root of your project. Add
50+
`globals: true` so `cleanup()` runs after each test.
5051

5152
```js
5253
import {defineConfig} from 'vitest/config'

0 commit comments

Comments
 (0)