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