File tree 1 file changed +2
-1
lines changed
src/frontend/components/Felleskomponenter/Datovelger
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { ISODateString } from '../../../typer/common';
11
11
import { SkjemaFeltTyper } from '../../../typer/skjema' ;
12
12
import * as datoUtils from '../../../utils/dato' ;
13
13
import { dagensDato } from '../../../utils/dato' ;
14
- import { silenceConsoleErrors , TestProvidere } from '../../../utils/testing' ;
14
+ import { silenceConsoleErrors , spyOnUseApp , TestProvidere } from '../../../utils/testing' ;
15
15
16
16
import Datovelger from './Datovelger' ;
17
17
@@ -31,6 +31,7 @@ const IntlProviderMedLocale = ({ children }) => <IntlProvider locale="nb">{child
31
31
32
32
describe ( 'Datovelger' , ( ) => {
33
33
beforeEach ( ( ) => {
34
+ spyOnUseApp ( { } ) ;
34
35
silenceConsoleErrors ( ) ;
35
36
window . ResizeObserver = ResizeObserver ;
36
37
} ) ;
You can’t perform that action at this time.
0 commit comments