From 5196ad102dfee6ddd0ed7e0feb4029d85a202dfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Bigio?= Date: Fri, 9 Oct 2015 07:56:00 -0700 Subject: [PATCH] fix E2E tests Reviewed By: @mkonicek Differential Revision: D2526310 fb-gh-sync-id: 1c04f56073dc5b393a36b258c039fdfd85ab83a2 --- babelRegisterOnly.js => packager/babelRegisterOnly.js | 0 packager/packager.js | 2 +- packager/react-packager/index.js | 2 +- private-cli/index.js | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename babelRegisterOnly.js => packager/babelRegisterOnly.js (100%) diff --git a/babelRegisterOnly.js b/packager/babelRegisterOnly.js similarity index 100% rename from babelRegisterOnly.js rename to packager/babelRegisterOnly.js diff --git a/packager/packager.js b/packager/packager.js index 686f53f9b..ddda537f9 100644 --- a/packager/packager.js +++ b/packager/packager.js @@ -8,7 +8,7 @@ */ 'use strict'; -require('../babelRegisterOnly')([ +require('./babelRegisterOnly')([ /packager\/[^\/]*/ ]); diff --git a/packager/react-packager/index.js b/packager/react-packager/index.js index b435a57a8..64ad19857 100644 --- a/packager/react-packager/index.js +++ b/packager/react-packager/index.js @@ -8,7 +8,7 @@ */ 'use strict'; -require('../../babelRegisterOnly')([/react-packager\/src/]); +require('../babelRegisterOnly')([/react-packager\/src/]); useGracefulFs(); diff --git a/private-cli/index.js b/private-cli/index.js index 1b7fb5016..866180784 100644 --- a/private-cli/index.js +++ b/private-cli/index.js @@ -8,7 +8,7 @@ */ 'use strict'; -require('../babelRegisterOnly')([/private-cli\/src/]); +require('../packager/babelRegisterOnly')([/private-cli\/src/]); var cli = require('./src/cli'); var fs = require('fs');