question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

karma init doesn't ask for require.js

See original GitHub issue

After 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:open
  • Created 8 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bbigrascommented, Nov 13, 2015

The question is shown with the answer but I didn’t have to answer it.

karma

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

0reactions
MikeCheelcommented, Jan 29, 2016

Yes just windows. Node v4 latest with latest karma On Jan 28, 2016 3:45 AM, “Friedel Ziegelmayer” notifications@github.com wrote:

@MikeCheel https://github.com/MikeCheel @brunoqc https://github.com/brunoqc is this happening only on windows for you?

— Reply to this email directly or view it on GitHub https://github.com/karma-runner/karma/issues/1705#issuecomment-176059410 .

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found