Skip to content

Commit bd26177

Browse files
author
Arman
committed
geophystech#137 ExportDropDown.
1 parent accbe61 commit bd26177

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/unit/specs/ExportDropDown.spec.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ describe('ExportDropDown.vue', () => {
4242
get: () => Promise.resolve(resp)
4343
})
4444

45-
it('Request xls file url', async () => {
45+
wrapper.vm.$on('export2xls', request => {
46+
request('url', {})
47+
})
4648

47-
wrapper.vm.$on('export2xls', request => {
48-
request('url', {})
49-
})
49+
it('Request xls file url', async () => {
5050

5151
wrapper.find('.dropdown-item').trigger('click')
5252

0 commit comments

Comments
 (0)