File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ Now let's use React's test renderer and Jest's snapshot feature to interact with
114114the component and capture the rendered output and create a snapshot file:
115115
116116``` javascript
117- // Link.react- test.js
117+ // Link.react. test.js
118118import React from ' react' ;
119119import Link from ' ../Link.react' ;
120120import renderer from ' react-test-renderer' ;
@@ -143,7 +143,7 @@ test('Link changes the class when hovered', () => {
143143When you run ` npm test ` or ` jest ` , this will produce an output file like this:
144144
145145``` javascript
146- // __tests__/__snapshots__/Link.react- test.js.snap
146+ // __tests__/__snapshots__/Link.react. test.js.snap
147147exports [` Link changes the class when hovered 1` ] = `
148148<a
149149 className="normal"
You can’t perform that action at this time.
0 commit comments