mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-04-22 19:58:25 +08:00
Move webpack test entry
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
const webpack = require('webpack')
|
||||
|
||||
const testEntry = 'tests.webpack.js'
|
||||
const testEntry = 'src/tests.webpack.js'
|
||||
|
||||
module.exports = function (config) {
|
||||
config.set({
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
*
|
||||
* 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)
|
||||
Reference in New Issue
Block a user