From f7429d4dafe964b8f3583933a844f54736f2929d Mon Sep 17 00:00:00 2001 From: Wyatt Preul Date: Mon, 26 Sep 2016 12:59:06 -0500 Subject: [PATCH] Update deps: eslint, diff (#646) --- package.json | 8 ++++---- test/reporters.js | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index c2ee2f12..3e4cf4ae 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" diff --git a/test/reporters.js b/test/reporters.js index 987a035c..2f78b9da 100755 --- a/test/reporters.js +++ b/test/reporters.js @@ -1508,19 +1508,19 @@ describe('Reporter', () => { expect(err).not.to.exist(); expect(output) .to.contain('
') - .and.to.contain('') + .and.to.contain('semi - Missing semicolon') .and.to.contain('') - .and.to.contain('9') + .and.to.contain('11') .and.to.contain('1') - .and.to.contain('
  • L13 - ERROR - indent - Expected indentation of 4 space characters but found 0.
  • ') - .and.to.contain('
  • L14 - ERROR - indent - Expected indentation of 4 space characters but found 0.
  • ') - .and.to.contain('
  • L15 - ERROR - indent - Expected indentation of 4 space characters but found 0.
  • ') - .and.to.contain('
  • L18 - ERROR - indent - Expected indentation of 4 space characters but found 0.
  • ') - .and.to.contain('
  • L21 - ERROR - indent - Expected indentation of 4 space characters but found 0.
  • ') + .and.to.contain('
  • L13 - ERROR - indent - Expected indentation of 4 spaces') + .and.to.contain('
  • L14 - ERROR - indent - Expected indentation of 4 spaces') + .and.to.contain('
  • L15 - ERROR - indent - Expected indentation of 4 spaces') + .and.to.contain('
  • L18 - ERROR - indent - Expected indentation of 4 spaces') + .and.to.contain('
  • L21 - ERROR - indent - Expected indentation of 4 spaces') .and.to.contain('
  • L21 - WARNING - no-eq-null - Use ‘===’ to compare with ‘null’.
  • ') .and.to.contain('
  • L21 - ERROR - eqeqeq - Expected '===' and instead saw '=='.
  • ') .and.to.contain('
  • L21 - ERROR - semi - Missing semicolon.
  • ') - .and.to.contain('
  • L23 - ERROR - indent - Expected indentation of 4 space characters but found 0.
  • '); + .and.to.contain('
  • L23 - ERROR - indent - Expected indentation of 4 spaces'); delete global.__$$testCovHtml; done(); }); @@ -1551,7 +1551,7 @@ describe('Reporter', () => { expect(err).not.to.exist(); expect(output) - .to.contain('9') + .to.contain('11') .and.to.contain('1'); delete global.__$$testCovHtml;