Skip to content

Commit 8dc4df1

Browse files
author
Ives van Hoorne
committed
Add test example
1 parent f9a6064 commit 8dc4df1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/homepage/content/docs/2-tests.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ A failed test looks like this in the Test View:
3535
And will also show squiggles in the editor:
3636

3737
![Test Squiggles](./images/jest-squiggles.png)
38+
39+
## Test Example
40+
41+
Here's an example sandbox running Jest tests:
42+
43+
<iframe src="https://codesandbox.io/embed/n9m2w9q8x0?view=preview" style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;" sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"></iframe>

0 commit comments

Comments
 (0)