File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,16 @@ import mockData from '../../../mockData/ActionButton.mock.json'
2323import ActionButton from '@/components/view/ActionButton'
2424
2525jest . mock ( 'axios' , ( ) => mockAxios )
26+ jest . mock ( '@/vue-app' , ( ) => ( {
27+ vueProps : {
28+ $localStorage : {
29+ set : jest . fn ( ( key , value ) => { } ) ,
30+ get : jest . fn ( ( key ) => {
31+ return null
32+ } )
33+ }
34+ }
35+ } ) )
2636
2737let router , store , i18n
2838const state = {
Original file line number Diff line number Diff line change @@ -23,6 +23,16 @@ import mockData from '../../../mockData/MigrateWizard.mock'
2323import MigrateWizard from '@/views/compute/MigrateWizard'
2424
2525jest . mock ( 'axios' , ( ) => mockAxios )
26+ jest . mock ( '@/vue-app' , ( ) => ( {
27+ vueProps : {
28+ $localStorage : {
29+ set : jest . fn ( ( key , value ) => { } ) ,
30+ get : jest . fn ( ( key ) => {
31+ return null
32+ } )
33+ }
34+ }
35+ } ) )
2636
2737let i18n
2838let store
You can’t perform that action at this time.
0 commit comments