Skip to content

Commit

Permalink
Indicate code sample is JS (#10819)
Browse files Browse the repository at this point in the history
This doesn't seem to make a different on Github, but changing it will help clarify the filetype on the docs page.
  • Loading branch information
jwworth authored and KyleAMathews committed Jan 3, 2019
1 parent 91c08a7 commit e2a6aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/unit-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ npm install --save-dev jest babel-jest react-test-renderer identity-obj-proxy ba
Because Gatsby handles its own Babel configuration, you will need to manually
tell Jest to use `babel-jest`. The easiest way to do this is to add a `jest.config.js`. You can set up some useful defaults at the same time:

```json:title=jest.config.js
```js:title=jest.config.js
module.exports = {
"transform": {
"^.+\\.jsx?$": "<rootDir>/jest-preprocess.js"
Expand Down

0 comments on commit e2a6aa1

Please sign in to comment.