From 8794d3b51f3a0fec18e48a8025c4332bd078a890 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Tue, 15 Aug 2017 18:15:17 -0500 Subject: [PATCH] fix(tests): fix linting errors on new tests --- test/reducers/balance.spec.js | 2 +- test/reducers/channels.spec.js | 8 ++++---- test/reducers/form.spec.js | 2 +- test/reducers/info.spec.js | 2 +- test/reducers/invoice.spec.js | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/test/reducers/balance.spec.js b/test/reducers/balance.spec.js index c069b15c..1c07e3c6 100644 --- a/test/reducers/balance.spec.js +++ b/test/reducers/balance.spec.js @@ -21,4 +21,4 @@ describe('reducers', () => { expect(balanceReducer(undefined, { type: 'unknown' })).toMatchSnapshot() }) }) -}) \ No newline at end of file +}) diff --git a/test/reducers/channels.spec.js b/test/reducers/channels.spec.js index fcfe2fee..757c63c1 100644 --- a/test/reducers/channels.spec.js +++ b/test/reducers/channels.spec.js @@ -50,16 +50,16 @@ describe('reducers', () => { expect(channelsReducer(undefined, { type: SET_CHANNEL_FORM, form: { isOpen: true } })).toMatchSnapshot() }) - it('should correctly setChannelForm', () => { + it('should correctly getChannels', () => { expect(channelsReducer(undefined, { type: GET_CHANNELS })).toMatchSnapshot() }) - it('should correctly setChannelForm', () => { + it('should correctly receiveChannel', () => { expect(channelsReducer(undefined, { type: RECEIVE_CHANNELS, channels: [1, 2], pendingChannels: [3, 4] })).toMatchSnapshot() }) - it('should correctly setChannelForm', () => { + it('should correctly openingChannel', () => { expect(channelsReducer(undefined, { type: OPENING_CHANNEL })).toMatchSnapshot() }) }) -}) \ No newline at end of file +}) diff --git a/test/reducers/form.spec.js b/test/reducers/form.spec.js index e547024c..5f401b48 100644 --- a/test/reducers/form.spec.js +++ b/test/reducers/form.spec.js @@ -61,4 +61,4 @@ describe('reducers', () => { expect(formReducer(undefined, { type: RESET_FORM })).toMatchSnapshot() }) }) -}) \ No newline at end of file +}) diff --git a/test/reducers/info.spec.js b/test/reducers/info.spec.js index fd69ff84..4cb22497 100644 --- a/test/reducers/info.spec.js +++ b/test/reducers/info.spec.js @@ -25,4 +25,4 @@ describe('reducers', () => { expect(infoReducer(undefined, { type: RECEIVE_INFO, data: 'foo' })).toMatchSnapshot() }) }) -}) \ No newline at end of file +}) diff --git a/test/reducers/invoice.spec.js b/test/reducers/invoice.spec.js index fe2b99ec..369ffd89 100644 --- a/test/reducers/invoice.spec.js +++ b/test/reducers/invoice.spec.js @@ -61,7 +61,7 @@ describe('reducers', () => { expect(invoiceReducer(undefined, { type: SEARCH_INVOICES, invoicesSearchText: 'foo' })).toMatchSnapshot() }) - it('should correctly searchInvoices', () => { + it('should correctly setInvoice', () => { expect(invoiceReducer(undefined, { type: SET_INVOICE, invoice: 'foo' })).toMatchSnapshot() }) @@ -97,4 +97,4 @@ describe('reducers', () => { expect(invoiceReducer(undefined, { type: INVOICE_FAILED })).toMatchSnapshot() }) }) -}) \ No newline at end of file +})