aboutsummaryrefslogtreecommitdiff
path: root/docs/cli/test.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cli/test.md')
-rw-r--r--docs/cli/test.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/cli/test.md b/docs/cli/test.md
index e76f37cdc..74a241ef2 100644
--- a/docs/cli/test.md
+++ b/docs/cli/test.md
@@ -1,8 +1,9 @@
Bun ships with a fast built-in test runner. Tests are executed with the Bun runtime, and support the following features.
- TypeScript and JSX
-- Snapshot testing
- Lifecycle hooks
+- Snapshot testing
+- UI & DOM testing
- Watch mode with `--watch`
- Script pre-loading with `--preload`
@@ -68,6 +69,14 @@ See [Test > Lifecycle](/docs/test/lifecycle) for complete documentation.
Snapshots are supported by `bun test`. See [Test > Snapshots](/docs/test/snapshots) for complete documentation.
+## UI & DOM testing
+
+Bun is compatible with popular UI testing libraries:
+
+- [HappyDOM](https://github.com/capricorn86/happy-dom)
+- [DOM Testing Library](https://testing-library.com/docs/dom-testing-library/intro/)
+- [React Testing Library](https://testing-library.com/docs/react-testing-library/intro)
+
## Performance
Bun's test runner is fast.