Skip to content

Commit

Permalink
Fix typo in moduleNameMapper docs (#9501)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrkhanAlikhanov committed Feb 2, 2020
1 parent 0fba8e3 commit 964dc16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Configuration.md
Expand Up @@ -487,7 +487,7 @@ Example:
}
```

The order in which the mappings are defined matters. Patterns are checked one by one until one fits. The most specific rule should be listed first. This is true for arrays of modules names as.
The order in which the mappings are defined matters. Patterns are checked one by one until one fits. The most specific rule should be listed first. This is true for arrays of module names as well.

_Note: If you provide module name without boundaries `^$` it may cause hard to spot errors. E.g. `relay` will replace all modules which contain `relay` as a substring in its name: `relay`, `react-relay` and `graphql-relay` will all be pointed to your stub._

Expand Down

0 comments on commit 964dc16

Please sign in to comment.