karma-runner / karma-runner/karma

Unable to change testing framework

Open
#1,725 5 comments 1 reaction 0 assignees View on GitHub
type: bug windows
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

The first question in the `karma init` process asks for the testing framework to use, `jasmine` is pre-selected. I want to use `mocha`.
- When I press backspace, nothing happens.
- When I press tab, the cursor is moved 8 spaces to the right.
- When I press Ctrl+C, I get a `^C` printed in the console.

This is on Windows 8.1 with the Windows Command Prompt.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the first `karma init` prompt in Windows Command Prompt, focusing on the testing-framework selection where `jasmine` is pre-selected. Trace the prompt handling used by `karma init` and verify that backspace, tab, and Ctrl+C behave correctly and that selecting `mocha` completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.