From 87a41d5943636de5d505f8ca4f570e797afd5395 Mon Sep 17 00:00:00 2001 From: Mina Smart Date: Thu, 25 Feb 2016 16:17:55 -0500 Subject: [PATCH] attempt to fix weird eslint build error. - Reference: https://github.com/babel/babel-eslint/issues/243 --- package.json | 5 +++-- tests/unit/api/shop-client-test.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 718feb73f..477c0245f 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "license": "MIT", "devDependencies": { "amd-name-resolver": "0.0.2", - "babel-eslint": "4.1.6", + "babel-eslint": "5.0.0", "broccoli": "0.16.9", "broccoli-asset-rev": "2.4.1", "broccoli-babel-transpiler": "5.5.0", @@ -27,6 +27,7 @@ "broccoli-sane-watcher": "1.1.4", "broccoli-static-compiler": "0.2.2", "broccoli-uglify-sourcemap": "1.1.1", + "escope": "3.3.0", "eslint-config-nightmare-mode": "0.3.0", "js-string-escape": "1.0.0", "loader.js": "3.5.0", @@ -34,6 +35,6 @@ "qunitjs": "1.20.0", "rsvp": "3.1.0", "testem": "0.9.11", - "whatwg-fetch": "^0.10.1" + "whatwg-fetch": "0.10.1" } } diff --git a/tests/unit/api/shop-client-test.js b/tests/unit/api/shop-client-test.js index 61af72560..bcdc9ff19 100644 --- a/tests/unit/api/shop-client-test.js +++ b/tests/unit/api/shop-client-test.js @@ -553,7 +553,7 @@ test('it utilizes the model\'s adapter and serializer during #update', function step(4, 'resolves update with the deserialized model', assert); assert.equal(localUpdatedModel, updatedModel); done(); - }).catch(e => { + }).catch(() => { assert.ok(false); done(); });