Skip to content

Commit 5e6cd23

Browse files
authored
Merge pull request #2717 from abdicodes/source
.test prefix
2 parents 45bb152 + 5a6ebcd commit 5e6cd23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/10/en/part10d.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ To use the eslint-plugin-jest plugin in ESLint, we need to include it in the plu
6565
}
6666
```
6767

68-
To see that the setup is working, create a directory <i>\_\_tests\_\_</i> in the <i>src</i> directory and in the created directory create a file <i>example.js</i>. In that file, add this simple test:
68+
To see that the setup is working, create a directory <i>\_\_tests\_\_</i> in the <i>src</i> directory and in the created directory create a file <i>example.test.js</i>. In that file, add this simple test:
6969

7070
```javascript
7171
describe('Example', () => {
@@ -75,7 +75,7 @@ describe('Example', () => {
7575
});
7676
```
7777

78-
Now, let's run our example test by running <em>npm test</em>. The command's output should indicate that the test located in the <i>src/\_\_tests\_\_/example.js</i> file is passed.
78+
Now, let's run our example test by running <em>npm test</em>. The command's output should indicate that the test located in the <i>src/\_\_tests\_\_/example.test.js</i> file is passed.
7979

8080
### Organizing tests
8181

0 commit comments

Comments
 (0)