Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
faboweb committed Dec 6, 2017
1 parent b6bd103 commit 9bbf61a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/specs/BtnCopy.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ describe('BtnCopy', () => {
expect(store.commit.mock.calls[0][1].body).not.toContain('123456789012345678901234567890')
expect(store.commit.mock.calls[0][1].body).toContain('1234567890')
})

it('should use a provided title in message', () => {
wrapper.setProps({title: 'Title A'})
wrapper.trigger('click')
expect(store.commit.mock.calls[0][1].title).toBe('Title A')
})

it('should use a provided body in message', () => {
wrapper.setProps({body: 'Body A'})
wrapper.trigger('click')
Expand Down

0 comments on commit 9bbf61a

Please sign in to comment.