From 3367e657e6e67789d26ab97ade2fc5ea4e6a3f94 Mon Sep 17 00:00:00 2001 From: Daniel Tschinder Date: Wed, 5 Dec 2018 13:54:54 -0800 Subject: [PATCH] Ensure we always use local versions of babel dependencies in tests --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e40200a4e5d4..03c53427630b 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/" + } } }