Skip to content

Commit a7ad808

Browse files
Update jest.md
1 parent f8ef66b commit a7ad808

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

recipes/javascript/tests/jest.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@
44
See [Jest](https://jestjs.io/) homepage.
55

66

7+
Test scripts should be named `*.spec.js`. You can also use `.jsx`, `.ts` or `.tsx` for the extension.
8+
9+
They can exist next to the script it is testing, or put all your tests in `__tests__`.
10+
11+
712
## Sample
813

9-
Install with
14+
Install with:
1015

1116
```sh
1217
$ npm install jest -D

0 commit comments

Comments
 (0)