Closed Bug 1554924 Opened 5 years ago Closed 5 years ago

Simplify devtools/client/webconsole/test/mocha-test-setup.js and remove eslint-disable complexity

Categories

(DevTools :: Console, task, P2)

task

Tracking

(firefox70 fixed)

RESOLVED FIXED
Firefox 70
Tracking Status
firefox70 --- fixed

People

(Reporter: pbro, Assigned: arunmohandm)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This file contains a special eslint comment to temporarily disable the complexity eslint rule since it contains one or more functions that exceed the maximum complexity threshold. The code should be simplified, and the comment removed. Link to the code in question: https://searchfox.org/mozilla-central/search?q=eslint-disable+complexity&case=false&regexp=false&path=devtools%2Fclient%2Fwebconsole%2Ftest%2Fmocha-test-setup.js

Component: General → Console
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9c83333374ef
Simplify Mocha test setup to remove disabled eslint complexity. r=nchevobbe
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Assignee: nobody → arunmohandm
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: