Skip to content

Commit eae13ff

Browse files
committed
changed doc differences from headlines to comments
1 parent a0a5780 commit eae13ff

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,13 @@ There are several key differences, though:
6060

6161
⚠️ The `render` function takes in a function that returns a Solid Component, rather than simply the component itself.
6262

63-
**Preact Testing Library**
64-
6563
```tsx
64+
// With @testing-library/preact
6665
const results = render(<YourComponent />, options);
6766
```
6867

69-
**Solid Testing Library**
70-
7168
```tsx
69+
// With solid-testing-library
7270
const results = render(() => <YourComponent />, options);
7371
```
7472

0 commit comments

Comments
 (0)