From d5a14031c63e6c7d4c5eba793b2e53c4e21596cf Mon Sep 17 00:00:00 2001 From: Benedict Aas Date: Thu, 8 Feb 2018 12:27:25 +0000 Subject: [PATCH] pass linter --- tests/gui/components/modal.spec.js | 19 +++++++++++++++++++ tests/gui/pages/settings.spec.js | 6 ------ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/tests/gui/components/modal.spec.js b/tests/gui/components/modal.spec.js index 7880e15b..f385b8cb 100644 --- a/tests/gui/components/modal.spec.js +++ b/tests/gui/components/modal.spec.js @@ -1,5 +1,24 @@ +/* + * Copyright 2017 resin.io + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +'use strict' const m = require('mochainon') +const angular = require('angular') +require('angular-mocks') describe('Browser: Modal', function () { beforeEach(angular.mock.module( diff --git a/tests/gui/pages/settings.spec.js b/tests/gui/pages/settings.spec.js index d986db06..4f6d4690 100644 --- a/tests/gui/pages/settings.spec.js +++ b/tests/gui/pages/settings.spec.js @@ -17,14 +17,8 @@ 'use strict' const m = require('mochainon') -const _ = require('lodash') const fs = require('fs') -const path = require('path') -const supportedFormats = require('../../../lib/shared/supported-formats') const angular = require('angular') -const flashState = require('../../../lib/shared/models/flash-state') -const availableDrives = require('../../../lib/shared/models/available-drives') -const selectionState = require('../../../lib/shared/models/selection-state') require('angular-mocks') describe('Browser: SettingsPage', function () {