Skip to content

Commit e72f967

Browse files
yokiniststaylor
authored andcommitted
docs: add javascript syntax highlighting to 'Usage in Jest'
1 parent 3054564 commit e72f967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ renderToNodeStream(app)
120120
## Usage in Jest
121121
While testing in using jest, if there is a need to emulate SSR, the following string is required to have the test behave the way they are expected to.
122122

123-
```
123+
```javascript
124124
import { HelmetProvider } from 'react-helmet-async';
125125

126126
HelmetProvider.canUseDOM = false;

0 commit comments

Comments
 (0)