File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ export const spyOnUseApp = søknad => {
53
53
status : RessursStatus . SUKSESS ,
54
54
data : mockDeep < ISøkerRespons > ( { sivilstand : { type : ESivilstand . UGIFT } , ...søknad . søker } ) ,
55
55
} ) ) ;
56
+ const tilRestLocaleRecord = jest . fn ( ) ;
56
57
const settSøknad = jest . fn ( ) ;
57
58
const erPåKvitteringsside = jest . fn ( ) . mockImplementation ( ( ) => false ) ;
58
59
const erStegUtfyltFrafør = jest . fn ( ) . mockImplementation ( ( ) => true ) ;
@@ -106,6 +107,7 @@ export const spyOnUseApp = søknad => {
106
107
fåttGyldigKvittering : søknad . fåttGyldigKvittering === true ,
107
108
tekster : jest . fn ( ) . mockImplementation ( ( ) => mockDeep < ITekstinnhold > ( ) ) ,
108
109
plainTekst : jest . fn ( ) . mockReturnValue ( 'tekst fra sanity' ) ,
110
+ tilRestLocaleRecord,
109
111
} ) ;
110
112
111
113
jest . spyOn ( appContext , 'useApp' ) . mockImplementation ( useAppMock ) ;
You can’t perform that action at this time.
0 commit comments