Skip to content

Commit 3dc3527

Browse files
authored
fix: testing library docs (#15667)
1 parent af4f1c7 commit 3dc3527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/test/testing-library.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Next, add these preload scripts to your `bunfig.toml` (you can also have everyth
4949

5050
```toml#bunfig.toml
5151
[test]
52-
preload = ["happydom.ts", "testing-library.ts"]
52+
preload = ["./happydom.ts", "./testing-library.ts"]
5353
```
5454
---
5555

@@ -84,4 +84,4 @@ test('Can use Testing Library', () => {
8484

8585
---
8686

87-
Refer to the [Testing Library docs](https://testing-library.com/), [Happy DOM repo](https://github.com/capricorn86/happy-dom) and [Docs > Test runner > DOM](https://bun.sh/docs/test/dom) for complete documentation on writing browser tests with Bun.
87+
Refer to the [Testing Library docs](https://testing-library.com/), [Happy DOM repo](https://github.com/capricorn86/happy-dom) and [Docs > Test runner > DOM](https://bun.sh/docs/test/dom) for complete documentation on writing browser tests with Bun.

0 commit comments

Comments
 (0)