Skip to content

Commit

Permalink
fix: testing library docs (#15667)
Browse files Browse the repository at this point in the history
  • Loading branch information
nattui authored Dec 10, 2024
1 parent af4f1c7 commit 3dc3527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/test/testing-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Next, add these preload scripts to your `bunfig.toml` (you can also have everyth

```toml#bunfig.toml
[test]
preload = ["happydom.ts", "testing-library.ts"]
preload = ["./happydom.ts", "./testing-library.ts"]
```
---

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

---

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.
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 comments on commit 3dc3527

Please sign in to comment.