Browse Source

fix(tests): fix linting errors on new tests

renovate/lint-staged-8.x
Jack Mallers 8 years ago
parent
commit
8794d3b51f
  1. 6
      test/reducers/channels.spec.js
  2. 2
      test/reducers/invoice.spec.js

6
test/reducers/channels.spec.js

@ -50,15 +50,15 @@ 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()
})
})

2
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()
})

Loading…
Cancel
Save