-
-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Description
Hello,
I'm using the vue-loader and i'd like to test unit my code.
As shown in the webpack template https://github.com/vuejs-templates/webpack, you need to get the Webpack config for the karma.conf.js.
//karma.conf.js
var webpackConfig = require('../../build/webpack.test.conf')
The problem is that getting the webpack config without using the encore binary doesn't work.
Invalid config file!
Error: Are you trying to require index.js directly?
Is there any way to get the wepack config or is there an other way to setup karmaJs for webpack-encore ?
Thx
mneuhaus, giraz82, CunningFatalist and fedorenko22116
Metadata
Metadata
Assignees
Labels
No labels