Ensure we always use local versions of babel dependencies in tests (#9132)
This commit is contained in:
parent
ca2918ab13
commit
9c45b8faf7
@ -124,6 +124,9 @@
|
|||||||
"/test/tmp/",
|
"/test/tmp/",
|
||||||
"/test/__data__/",
|
"/test/__data__/",
|
||||||
"<rootDir>/build/"
|
"<rootDir>/build/"
|
||||||
]
|
],
|
||||||
|
"moduleNameMapper": {
|
||||||
|
"^@babel/([a-zA-Z0-9_-]+)$": "<rootDir>/packages/babel-$1/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user