From b3b254bec993211cf4ed39a9b482b34b8e1accd9 Mon Sep 17 00:00:00 2001 From: Paul Kaplan <pkaplan@media.mit.edu> Date: Fri, 18 Aug 2017 15:15:00 -0400 Subject: [PATCH] Fix linting --- test/__mocks__/audio-effects.js | 4 ++-- test/unit/containers/sound-editor.test.jsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/__mocks__/audio-effects.js b/test/__mocks__/audio-effects.js index 291438f85..b8a4c6994 100644 --- a/test/__mocks__/audio-effects.js +++ b/test/__mocks__/audio-effects.js @@ -13,8 +13,8 @@ export default class MockAudioEffects { constructor (buffer, name) { this.buffer = buffer; this.name = name; - this.process = jest.fn((done) => { - this._finishProcessing = (renderedBuffer) => done({renderedBuffer}); + this.process = jest.fn(done => { + this._finishProcessing = renderedBuffer => done({renderedBuffer}); }); MockAudioEffects.instance = this; } diff --git a/test/unit/containers/sound-editor.test.jsx b/test/unit/containers/sound-editor.test.jsx index 187908176..325488a25 100644 --- a/test/unit/containers/sound-editor.test.jsx +++ b/test/unit/containers/sound-editor.test.jsx @@ -111,7 +111,7 @@ describe('Sound Editor Container', () => { expect(vm.renameSound).toHaveBeenCalledWith(soundIndex, 'hello'); }); - test('it handles an effect by submitting the result and playing', done => { + test('it handles an effect by submitting the result and playing', () => { const wrapper = mountWithIntl( <SoundEditor soundIndex={soundIndex} -- GitLab