From 75f653818ad59f5e8bb6fdc17ccefb64fb4af6e8 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Mon, 19 Oct 2015 18:31:27 -0700 Subject: [PATCH] [change] move tests.webpack.js --- config/constants.js | 2 +- src/tests.webpack.js => tests.webpack.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/tests.webpack.js => tests.webpack.js (80%) diff --git a/config/constants.js b/config/constants.js index 33687b09..a872e573 100644 --- a/config/constants.js +++ b/config/constants.js @@ -6,5 +6,5 @@ module.exports = { DIST_DIRECTORY: path.join(ROOT, 'dist'), SRC_DIRECTORY: path.join(ROOT, 'src'), ROOT_DIRECTORY: ROOT, - TEST_ENTRY: path.join(ROOT, 'src/tests.webpack.js') + TEST_ENTRY: path.join(ROOT, 'tests.webpack.js') } diff --git a/src/tests.webpack.js b/tests.webpack.js similarity index 80% rename from src/tests.webpack.js rename to tests.webpack.js index ab3a4de7..275b5876 100644 --- a/src/tests.webpack.js +++ b/tests.webpack.js @@ -4,5 +4,5 @@ * * See: https://github.com/webpack/docs/wiki/context */ -var context = require.context('.', true, /-test\.js$/) +var context = require.context('./src', true, /-test\.js$/) context.keys().forEach(context)