Open ghost opened 8 years ago
Others use the same settings so I still don't understand. https://github.com/kaasbaardje/gherkin-karma-example/blob/master/test/test.spec.js
The module is loaded at least browserify is looking for it if I uninstall it. So there is a bug somewhere in the system I wasn't able to identify. I decided to do this manually since I have only 4 step definitions, so I added a temporary fix to the end of the file:
function fixDynamicRequireByBrowserify() {
// note: require_globify did not work, so I have to do this manually until I find a better solution. :S
require("./features/step_definitions/noop");
require("./features/step_definitions/Class");
require("./features/step_definitions/UserError");
require("./features/step_definitions/CompositeError");
}
Is it possible to use this lib with karma-browserify? It does not seem to work. I am trying with this karma.conf.js:
and I got bundle error by adding a function to the yadda.js file
What am I missing?