webpack / docs

[OLD] documentation for webpack
http://webpack.github.io/docs/
1.46k stars 127 forks source link

How to mock a AMD module dependency in karma context? #107

Open andreventuravale opened 6 years ago

andreventuravale commented 6 years ago

Is there a way to mock a AMD module dependency in webpack, when it is running under karma/jasmine?

I have asked at stackoverflow with no luck: https://stackoverflow.com/questions/48264681/how-to-mock-modules-within-a-define-call-running-under-a-karma-webpack-jasmine

Webpack is version 2.