Ensure we always use local versions of babel dependencies in tests (#9132)

This commit is contained in:
Daniel Tschinder 2018-12-05 14:14:16 -08:00 committed by GitHub
parent ca2918ab13
commit 9c45b8faf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,6 +124,9 @@
"/test/tmp/",
"/test/__data__/",
"<rootDir>/build/"
]
],
"moduleNameMapper": {
"^@babel/([a-zA-Z0-9_-]+)$": "<rootDir>/packages/babel-$1/"
}
}
}