migration of open-etc-friends-pool for use with Etica/EGAZ
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
736 B

// Libraries
import Vue from 'vue'
import Vuetify from 'vuetify'
// components
import ExplorerLink from '@/components/ExplorerLink.vue'
import { mount, createLocalVue } from '@vue/test-utils'
Vue.use(Vuetify)
const localVue = createLocalVue()
describe('ExplorerLink.vue', () => {
let vuetify
beforeEach(() => {
vuetify = new Vuetify()
})
it('is a Vue instance', () => {
const wrapper = mount(ExplorerLink, {
localVue,
vuetify,
propsData: {
config: {
network: 'classic',
explorer: {
url: 'https://blockscout.com',
type: 'blockscout',
},
symbol: 'ETC',
},
},
})
expect(wrapper.vm).toBeTruthy()
})
})