From 964dc1619b8c5345a648ef79bcd87c087995255a Mon Sep 17 00:00:00 2001 From: Orkhan Alikhanov Date: Sun, 2 Feb 2020 23:53:13 +0400 Subject: [PATCH] Fix typo in moduleNameMapper docs (#9501) --- docs/Configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Configuration.md b/docs/Configuration.md index 6f66472da9ef..b4e0f8a0819b 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -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._