test: open autowatch
parent
037b6674ba
commit
72fde617a3
|
@ -10,5 +10,5 @@ testsContext.keys().forEach(testsContext)
|
||||||
// require all src files except main.js for coverage.
|
// require all src files except main.js for coverage.
|
||||||
// you can also change this to match only the subset of files that
|
// you can also change this to match only the subset of files that
|
||||||
// you want coverage for.
|
// you want coverage for.
|
||||||
const srcContext = require.context(`../components`, true, /^\.(\.js|\.jsx)?$/)
|
const srcContext = require.context(`../components/${process.env.SCOPE}`, true, /^\.(\.js|\.jsx)?$/)
|
||||||
srcContext.keys().forEach(srcContext)
|
srcContext.keys().forEach(srcContext)
|
||||||
|
|
|
@ -29,7 +29,7 @@ module.exports = function (config) {
|
||||||
},
|
},
|
||||||
port: 9876,
|
port: 9876,
|
||||||
colors: true,
|
colors: true,
|
||||||
// autoWatch: true,
|
autoWatch: true,
|
||||||
webpack: merge(
|
webpack: merge(
|
||||||
{
|
{
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
Loading…
Reference in New Issue