mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-02 10:35:54 +00:00
Move webpack test entry
This commit is contained in:
+1
-1
@@ -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({
|
||||||
|
|||||||
@@ -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)
|
||||||
Reference in New Issue
Block a user