From 9c45b8faf70e1970b00138cdbb8e4b412a1373a2 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Wed, 5 Dec 2018 14:14:16 -0800 Subject: [PATCH] Ensure we always use local versions of babel dependencies in tests (#9132) --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e40200a4e5..03c5342763 100644 --- a/package.json +++ b/package.json @@ -124,6 +124,9 @@ "/test/tmp/", "/test/__data__/", "/build/" - ] + ], + "moduleNameMapper": { + "^@babel/([a-zA-Z0-9_-]+)$": "/packages/babel-$1/" + } } }