Closed volkanunsal closed 8 years ago
I'm trying to integrate rewire into Karma, and it keeps failing me.
ReferenceError: Can't find variable: rewire in .../assets/karma.tests.js (line 147)
Why? I don't know. Here is my configuration files:
// webpack.config.js var RewirePlugin = require('rewire-webpack'); config.plugins.push(new RewirePlugin());
// karma.config.js plugins: [ 'rewire-webpack' ]
I did everything right, I think. But still doesn't work...
Did you ever come to a resolution with this? I'm currently having the same issue.
I'm trying to integrate rewire into Karma, and it keeps failing me.
Why? I don't know. Here is my configuration files:
I did everything right, I think. But still doesn't work...