Closed
Bug 1756912
Opened 1 year ago
Closed 5 months ago
Custom test failure formatting for eslint failures omits actual and expected values
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Tracking
(firefox108 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: Gijs, Assigned: standard8)
Details
Attachments
(1 file)
doesn't include both actual+expected values, so it leads to test failure output that looks like this:
TEST-UNEXPECTED-FAIL | no-addtask-setup.js | add_task(function setup() {}); | Output is incorrect.
which is unhelpful as it leaves you guessing what the difference was between what we expected and what we actually got.
X-ref https://github.com/eslint/eslint/issues/5917 where this was originally filed in eslint itself (but that ticket is closed, suggesting it is fixed with the default formatters).
Updated•7 months ago
|
Product: Firefox Build System → Developer Infrastructure
Assignee | ||
Updated•5 months ago
|
Assignee: nobody → standard8
Severity: -- → N/A
Priority: -- → P3
Assignee | ||
Comment 1•5 months ago
•
|
||
Try push (showing failure doesn't mess up try): https://treeherder.mozilla.org/jobs?repo=try&revision=75594fd809736d3f718fea3f29a9a8aac7783fd2&selectedTaskRun=TVPUQnUbQmu3vXK9Un5ysg.0
Assignee | ||
Comment 2•5 months ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/304308d24ffe Add detailed error output for eslint-plugin-mozilla tests. r=Gijs
Comment 4•5 months ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•