Skip to content

Commit

Permalink
Fix typo in doc (#6454)
Browse files Browse the repository at this point in the history
"Collocation" insead of "Colocation".
  • Loading branch information
DenrizSusam authored and ianschmitz committed Feb 18, 2019
1 parent a8af55d commit 8a12ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/running-tests.md
Expand Up @@ -25,7 +25,7 @@ Jest will look for test files with any of the following popular naming conventio

The `.test.js` / `.spec.js` files (or the `__tests__` folders) can be located at any depth under the `src` top level folder.

We recommend to put the test files (or `__tests__` folders) next to the code they are testing so that relative imports appear shorter. For example, if `App.test.js` and `App.js` are in the same folder, the test just needs to `import App from './App'` instead of a long relative path. Colocation also helps find tests more quickly in larger projects.
We recommend to put the test files (or `__tests__` folders) next to the code they are testing so that relative imports appear shorter. For example, if `App.test.js` and `App.js` are in the same folder, the test just needs to `import App from './App'` instead of a long relative path. Collocation also helps find tests more quickly in larger projects.

## Command Line Interface

Expand Down

0 comments on commit 8a12ddf

Please sign in to comment.