Skip to content

Commit

Permalink
Tell jest where to find browserslist-config module.
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Feb 19, 2019
1 parent 42f1e84 commit 6627381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/jest.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"rootDir": "../../",
"moduleNameMapper": {
"@wordpress\\/(block-serialization-spec-parser|is-shallow-equal)$": "packages/$1",
"@wordpress\\/(block-serialization-spec-parser|is-shallow-equal|browserslist-config)$": "packages/$1",
"@wordpress\\/([a-z0-9-]+)$": "packages/$1/src"
},
"preset": "@wordpress/jest-preset-default",
Expand Down

0 comments on commit 6627381

Please sign in to comment.