Skip to content

Commit

Permalink
Update deps: eslint, diff (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
geek authored Sep 26, 2016
1 parent e4a3e45 commit f7429d4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"dependencies": {
"bossy": "3.x.x",
"diff": "2.x.x",
"eslint": "3.5.x",
"diff": "3.x.x",
"eslint": "3.6.x",
"eslint-config-hapi": "10.x.x",
"eslint-plugin-hapi": "4.x.x",
"espree": "3.x.x",
Expand All @@ -27,8 +27,8 @@
"source-map-support": "0.4.x"
},
"devDependencies": {
"code": "3.x.x",
"cpr": "1.1.x",
"code": "4.x.x",
"cpr": "2.0.x",
"eslint-plugin-markdown": "1.0.0-beta.2",
"lab-event-reporter": "1.x.x",
"rimraf": "2.5.x"
Expand Down
18 changes: 9 additions & 9 deletions test/reporters.js
Original file line number Diff line number Diff line change
Expand Up @@ -1508,19 +1508,19 @@ describe('Reporter', () => {
expect(err).not.to.exist();
expect(output)
.to.contain('<div class="stats medium">')
.and.to.contain('<span class="errors" data-tooltip="indent - Expected indentation of 4 space characters but found 0.&#xa;eqeqeq - Expected &#x27;&#x3d;&#x3d;&#x3d;&#x27; and instead saw &#x27;&#x3d;&#x3d;&#x27;.&#xa;semi - Missing semicolon."></span>')
.and.to.contain('semi - Missing semicolon')
.and.to.contain('<span class="warnings" data-tooltip="no-eq-null - Use &#8216;&#x3d;&#x3d;&#x3d;&#8217; to compare with &#8216;null&#8217;."></span>')
.and.to.contain('<span class="lint-errors low">9</span>')
.and.to.contain('<span class="lint-errors low">11</span>')
.and.to.contain('<span class="lint-warnings low">1</span>')
.and.to.contain('<li class="lint-entry">L13 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 space characters but found 0.</li>')
.and.to.contain('<li class="lint-entry">L14 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 space characters but found 0.</li>')
.and.to.contain('<li class="lint-entry">L15 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 space characters but found 0.</li>')
.and.to.contain('<li class="lint-entry">L18 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 space characters but found 0.</li>')
.and.to.contain('<li class="lint-entry">L21 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 space characters but found 0.</li>')
.and.to.contain('<li class="lint-entry">L13 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 spaces')
.and.to.contain('<li class="lint-entry">L14 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 spaces')
.and.to.contain('<li class="lint-entry">L15 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 spaces')
.and.to.contain('<li class="lint-entry">L18 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 spaces')
.and.to.contain('<li class="lint-entry">L21 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 spaces')
.and.to.contain('<li class="lint-entry">L21 - <span class="level-WARNING">WARNING</span> - no-eq-null - Use &#8216;&#x3d;&#x3d;&#x3d;&#8217; to compare with &#8216;null&#8217;.</li>')
.and.to.contain('<li class="lint-entry">L21 - <span class="level-ERROR">ERROR</span> - eqeqeq - Expected &#x27;&#x3d;&#x3d;&#x3d;&#x27; and instead saw &#x27;&#x3d;&#x3d;&#x27;.</li>')
.and.to.contain('<li class="lint-entry">L21 - <span class="level-ERROR">ERROR</span> - semi - Missing semicolon.</li>')
.and.to.contain('<li class="lint-entry">L23 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 space characters but found 0.</li>');
.and.to.contain('<li class="lint-entry">L23 - <span class="level-ERROR">ERROR</span> - indent - Expected indentation of 4 spaces');
delete global.__$$testCovHtml;
done();
});
Expand Down Expand Up @@ -1551,7 +1551,7 @@ describe('Reporter', () => {

expect(err).not.to.exist();
expect(output)
.to.contain('<span class="lint-errors low">9</span>')
.to.contain('<span class="lint-errors low">11</span>')
.and.to.contain('<span class="lint-warnings medium">1</span>');

delete global.__$$testCovHtml;
Expand Down

0 comments on commit f7429d4

Please sign in to comment.