Skip to content

Commit

Permalink
updated snapshots + readable snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
faboweb committed Dec 19, 2017
1 parent 84e0aba commit 21e6cf7
Show file tree
Hide file tree
Showing 2 changed files with 502 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/unit/specs/PageBalances.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('PageBalances', () => {
})

it('has the expected html structure', () => {
expect(wrapper.html()).toMatchSnapshot()
expect(wrapper.vm.$el).toMatchSnapshot()
})

it('should sort the balances by denom', () => {
Expand All @@ -63,7 +63,7 @@ describe('PageBalances', () => {
store.commit('setSearchVisible', ['balances', true])
store.commit('setSearchQuery', ['balances', 'atom'])
expect(wrapper.vm.filteredBalances.map(x => x.denom)).toEqual(['ATOM'])
expect(wrapper.html()).toMatchSnapshot()
expect(wrapper.vm.$el).toMatchSnapshot()
})

it('should update balances by querying wallet state', () => {
Expand Down
Loading

0 comments on commit 21e6cf7

Please sign in to comment.