Remove unused variables from specs

This commit is contained in:
Rafael Oleza
2019-02-21 15:05:44 +01:00
parent 7e23d4dc7a
commit f6db819485
4 changed files with 4 additions and 23 deletions

View File

@@ -1,11 +1,4 @@
const {
it,
fit,
ffit,
fffit,
beforeEach,
afterEach
} = require('./helpers/async-spec-helpers') // eslint-disable-line no-unused-vars
const { it, beforeEach } = require('./helpers/async-spec-helpers')
describe('About', () => {
let workspaceElement

View File

@@ -1,12 +1,9 @@
const {
it,
fit,
ffit,
fffit,
beforeEach,
afterEach,
conditionPromise
} = require('./helpers/async-spec-helpers') // eslint-disable-line no-unused-vars
} = require('./helpers/async-spec-helpers')
const MockUpdater = require('./mocks/updater')
describe('the status bar', () => {

View File

@@ -1,12 +1,5 @@
const { shell } = require('electron')
const {
it,
fit,
ffit,
fffit,
beforeEach,
afterEach
} = require('./helpers/async-spec-helpers') // eslint-disable-line no-unused-vars
const { it, beforeEach, afterEach } = require('./helpers/async-spec-helpers')
const main = require('../lib/main')
const AboutView = require('../lib/components/about-view')
const UpdateView = require('../lib/components/update-view')

View File

@@ -4,12 +4,10 @@ const UIWatcher = require('../lib/ui-watcher')
const {
it,
fit,
ffit,
afterEach,
beforeEach,
conditionPromise
} = require('./async-spec-helpers') // eslint-disable-line no-unused-vars
} = require('./async-spec-helpers')
describe('UIWatcher', () => {
let uiWatcher = null