Move webpack test entry

This commit is contained in:
Nicolas Gallagher
2016-07-20 14:30:20 -07:00
parent 6a9212df40
commit 9401eb9b47
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
const webpack = require('webpack') const webpack = require('webpack')
const testEntry = 'tests.webpack.js' const testEntry = 'src/tests.webpack.js'
module.exports = function (config) { module.exports = function (config) {
config.set({ config.set({
+1 -1
View File
@@ -4,5 +4,5 @@
* *
* See: https://github.com/webpack/docs/wiki/context * See: https://github.com/webpack/docs/wiki/context
*/ */
var context = require.context('./src', true, /-test\.js$/) var context = require.context('.', true, /-test\.js$/)
context.keys().forEach(context) context.keys().forEach(context)