Closed
Bug 1441278
Opened 8 years ago
Closed 8 years ago
Missing line numbers in failing unit tests
Categories
(Firefox :: New Tab Page, defect, P1)
Firefox
New Tab Page
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox60 | --- | fixed |
People
(Reporter: andreio, Assigned: andreio)
References
Details
Attachments
(2 files, 2 external files)
See attachments.
| Assignee | ||
Comment 1•8 years ago
|
||
Notice the difference in the last line between the two screenshots.
Rolling back pre-source-maps fixes it.
Flags: needinfo?(khudson)
Comment 2•8 years ago
|
||
After some investigation, I believe this is actually due to the upgrade to Karma 2.0 rather than the introduction of source maps with webpack.
Installing karma 1.7.0 fixes the issue for me.
Related issue here: https://github.com/karma-runner/karma/issues/2930
We could consider downgrading, or perhaps just wait for a fix to karma? Looks like someone was making some progress on it in the last couple of weeks
Flags: needinfo?(khudson)
Comment 3•8 years ago
|
||
Let's downgrade karma to 1.7.1
Assignee: nobody → andrei.br92
Iteration: --- → 60.4 - Mar 12
status-firefox60:
--- → affected
Priority: -- → P1
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/activity-stream
https://github.com/mozilla/activity-stream/commit/d8e8a193141a04d867776fc1057282e35fe0f037
Fix Bug 1441278 - Missing line numbers in failing unit tests.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/activity-stream
https://github.com/mozilla/activity-stream/commit/cff509da2bcb46b9331a31aa3e47ad9df51d8f7e
Fix Bug 1441278 - Update package-lock.json
Comment 8•8 years ago
|
||
Target Milestone: --- → Firefox 60
Comment 9•8 years ago
|
||
Looks like this got fixed in karma 2.0.2:
01 05 2018 13:53:45.382:INFO [karma]: Karma v2.0.2 server started at http://0.0.0.0:9876/
expected { Object (id, icon, ...) } to have property 'id' of 'menuaction_pin', but got 'menu_action_pin'
AssertionError@node_modules/chai/chai.js:9320:13
[3]</module.exports/Assertion.prototype.assert@node_modules/chai/chai.js:239:13
Compared to 2.0.0:
01 05 2018 13:50:37.619:INFO [karma]: Karma v2.0.0 server started at http://0.0.0.0:9876/
expected { Object (id, icon, ...) } to have property 'id' of 'menuaction_pin', but got 'menu_action_pin'
AssertionError@base/node_modules/chai/chai.js?40e7aa72e9665366bfd82579520de4fb0754dfae:9320:13
[3]</module.exports/Assertion.prototype.assert@base/node_modules/chai/chai.js?40e7aa72e9665366bfd82579520de4fb0754dfae:239:13
I'll update karma in bug 1436228.
Updated•7 years ago
|
Component: Activity Streams: Newtab → New Tab Page
You need to log in
before you can comment on or make changes to this bug.
Description
•