diff --git a/tests/unit/components/LoadingIndicator.spec.js b/tests/unit/components/LoadingIndicator.spec.js index ec573d4..95098e2 100644 --- a/tests/unit/components/LoadingIndicator.spec.js +++ b/tests/unit/components/LoadingIndicator.spec.js @@ -2,7 +2,6 @@ import { expect } from 'chai' import { shallowMount } from '@vue/test-utils' import LoadingIndicator from '@/components/LoadingIndicator.vue' -let place describe('LoadingIndicator.vue', () => { it('Calculates animation class', async () => { const wrapper = shallowMount(LoadingIndicator, { diff --git a/tests/unit/fileUtils.spec.js b/tests/unit/fileUtils.spec.js index 617ce60..0d1f166 100644 --- a/tests/unit/fileUtils.spec.js +++ b/tests/unit/fileUtils.spec.js @@ -93,17 +93,17 @@ describe('fileUtils.js', () => { const buffer = await fu.readAsArrayBuffer(blob) const uint8Array = new Uint8Array(buffer) - const text = new TextDecoder().decode(uint8Array) + const text = new TextDecoder().decode(uint8Array) expect(text).to.equal('foo') }) it('readAsArrayBuffer rejects', async () => { const r = new FileReader() r.readAsArrayBuffer = () => { - r.dispatchEvent(new Event('error'), ) + r.dispatchEvent(new Event('error')) } sinon.stub(window, 'FileReader').returns(r) - + const blob = new Blob(['foo']) await expect(fu.readAsArrayBuffer(blob)).to.be.rejectedWith('Problem parsing input file.') })