karma init doesn't ask for require.js
See original GitHub issueAfter I choose jasmine, the init script skip the require.js question and ask me the “Do you want to capture any browsers automatically” question.
Which testing framework do you want to use ?
Press tab to list possible options. Enter to move to the next question.
> jasmine
Do you want to use Require.js ?
This will add Require.js plugin.
Press tab to list possible options. Enter to move to the next question.
> no
Do you want to capture any browsers automatically ?
Press tab to list possible options. Enter empty string to move to the next question.
> Chrome
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Karma doesn't run test after converting to requirejs
Try to change order of rules in files array. It looks like first rule have higher priority: files: [ {pattern: 'test/test-main.js ...
Read more >Front-End Unit Testing Using Karma Test Runner
This tutorial explains how to setup Karma & automate Front-End Unit Testing Using Karma, basic configuration options for Karma.conf.js file ...
Read more >RequireJS - Karma test runner
Configure Karma #. The first step is creating our karma.conf.js . We can do this from the command line: $ karma init.
Read more >Unit testing JavaScript with Karma in 2021. Starting point
In our example, we would use “Jasmine” so just press [Enter] to move to the next question. Do you want to use Require.js...
Read more >karma-runner/karma - Gitter
ask Require.js to load these files (all our tests) deps: tests, // start test run, once Require.js is done callback: window.__karma__.start
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The question is shown with the answer but I didn’t have to answer it.
It seems
rli.on('line', sm.onLine.bind(sm))
https://github.com/karma-runner/karma/blob/master/lib/init.js#L237 fire twice for some reason.node v5.0.0
Yes just windows. Node v4 latest with latest karma On Jan 28, 2016 3:45 AM, “Friedel Ziegelmayer” notifications@github.com wrote: