Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Browserify + Karma #54

Closed
sevein opened this issue Oct 17, 2014 · 2 comments
Closed

Browserify + Karma #54

sevein opened this issue Oct 17, 2014 · 2 comments

Comments

@sevein
Copy link

sevein commented Oct 17, 2014

I'd love to see this starter integrated with Karma, but I can't see how it could be done nicely.
There is a Karma preprocessor called karma-bro that could help (it will be renamed soon, see nikku/karma-browserify#37). Ideally karma-bro could load the bundle configurations from config.js, but I'm not sure if that would work as karma-bro seems to accept a limited number of options.

Thoughts?

@bendrucker
Copy link

Saw this linked on a karma-bro issue. There would need to be some additional config that points to the test files but otherwise this is very feasible. karma-as-promised is the best way to glue Karma to Gulp. Not sure if you were referencing this, but karma-bro now passes through all options that don't get special handling as of nikku/karma-browserify@0211640. Previously it did pass through all options documented by the browserify API though and so all standard behavior was always available.

@greypants
Copy link
Contributor

I haven't played with Karma, but I agree it would be nice to get a basic test setup here. Our team's been using Jest recently, and I plan on adding that here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants