We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0a5780 commit eae13ffCopy full SHA for eae13ff
1 file changed
README.md
@@ -60,15 +60,13 @@ There are several key differences, though:
60
61
⚠️ The `render` function takes in a function that returns a Solid Component, rather than simply the component itself.
62
63
-**Preact Testing Library**
64
-
65
```tsx
+// With @testing-library/preact
66
const results = render(<YourComponent />, options);
67
```
68
69
-**Solid Testing Library**
70
71
+// With solid-testing-library
72
const results = render(() => <YourComponent />, options);
73
74
0 commit comments