mirror of https://github.com/infosecn1nja/C3.git
Fix tests
parent
a9d1b00d90
commit
17637a227b
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="c3route-list" v-if="routes.length || displayEmpty">
|
||||
<div class="c3route-list" v-if="(routes && routes.length) || displayEmpty">
|
||||
<h1 v-show="hasTitle">{{ title }}</h1>
|
||||
<template v-if="routes.length">
|
||||
<table class="datatable">
|
||||
|
|
|
@ -16,6 +16,12 @@ describe('@/components/modals/CreateRelay.vue', () => {
|
|||
|
||||
it('CreateRelayModal is a Vue instance', () => {
|
||||
const wrapper = shallowMount(CreateRelayModal, {
|
||||
propsData: {
|
||||
options: {
|
||||
formDefault: {},
|
||||
source: {}
|
||||
}
|
||||
},
|
||||
store,
|
||||
localVue
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue