Closed
Bug 1197795
Opened 10 years ago
Closed 10 years ago
Update Loop's library versions (eslint 1.2.1, sinon 1.16.1)
Categories
(Hello (Loop) :: Client, defect)
Hello (Loop)
Client
Tracking
(firefox43 fixed)
| Tracking | Status | |
|---|---|---|
| firefox43 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(1 file)
|
178.05 KB,
patch
|
mikedeboer
:
review+
|
Details | Diff | Splinter Review |
| Assignee | ||
Updated•10 years ago
|
Iteration: --- → 43.1 - Aug 24
Points: --- → 1
| Assignee | ||
Comment 1•10 years ago
|
||
This does the simple updates. Not much new in eslint, but worth upgrading anyway I think.
The test_looppush_initialize.js changes are partially due to eslint - I think there's a regression in what it has as a valid case statement, however, I also think the code is more readable with hard-coded numbers than it is with the ++n.
sinon has various things we may/may not need, but I think the "bunch of bug fixes" bucket makes it reasonable to update whilst we're in the updating area ;-)
Attachment #8651749 -
Flags: review?(mdeboer)
Comment 2•10 years ago
|
||
Comment on attachment 8651749 [details] [diff] [review]
Update Loop's library versions (eslint 1.2.1, sinon 1.16.1).
Review of attachment 8651749 [details] [diff] [review]:
-----------------------------------------------------------------
Cool! When will we upgrade React? ;-)
::: browser/components/loop/test/xpcshell/test_looppush_initialize.js
@@ +164,2 @@
> switch (++pushServerRequestCount) {
> + case 1:
err, much better!
Attachment #8651749 -
Flags: review?(mdeboer) → review+
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox43:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
Comment 5•10 years ago
|
||
I updated eslint to 1.2.1 but when I run all loop tests, I get a bunch of errors for missing block-spacing:
ui/ui-showcase.jsx
7:1 error Definition for rule 'block-spacing' was not found block-spacing
✖ 128 problems (128 errors, 0 warnings)
$ grep block-spacing browser/components/loop/.eslintrc
"block-spacing": [2, "always"],
| Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Ed Lee :Mardak from comment #5)
> I updated eslint to 1.2.1 but when I run all loop tests, I get a bunch of
> errors for missing block-spacing:
Did you update both the version in standalone (make install), plus the global version?
Comment 7•10 years ago
|
||
Aha! That was it. I missed the standalone's copy with make install. Thanks.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•