karma-runner / karma-runner/karma

Update Mocha.js

Open
#3,698 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

We're using an ancient version of Mocha.js: 4.1.0.

This involves:

- [ ] Migrating Mocha's from `opts` and to the now canonical [configuration file](https://mochajs.org/#configuring-mocha-nodejs); the way that the configuration options are set for the current Mocha.js setup is [outdated][1] and [obscure][2].

[1]: https://github.com/mochajs/mocha/blob/34643e4c0821aeb8d6977c1942bc106c9363789a/docs/index.md#--opts-path
[2]: https://github.com/mochajs/mocha/blob/v4.0.1/bin/options.js#L21

Contributor guide

Open the contributing guide

Research direction

Start by locating Karma's current Mocha.js opts setup and compare it with Mocha's canonical configuration-file documentation linked in the issue. Migrate the existing options without changing test behavior, then run the repository's test suite to confirm the updated Mocha.js setup works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.