Skip to content

Commit

Permalink
Fix escaping of .
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Nov 7, 2017
1 parent 0a8eb26 commit 356469a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ Example:
{
"moduleNameMapper": {
"^image![a-zA-Z0-9$_-]+$": "GlobalImageStub",
"^[./a-zA-Z0-9$_-]+.png$": "<rootDir>/RelativeImageStub.js",
"^[./a-zA-Z0-9$_-]+\\.png$": "<rootDir>/RelativeImageStub.js",
"module_name_(.*)": "<rootDir>/substituted_module_$1.js",
},
}
Expand Down

0 comments on commit 356469a

Please sign in to comment.