File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
configs/test-utils/src/__mocks__/@monkvision Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ const {
3939 email,
4040 getVehicleModel,
4141 getAspectRatio,
42+ MonkSearchParam,
4243} = jest . requireActual ( '@monkvision/common' ) ;
4344
4445export = {
@@ -71,6 +72,7 @@ export = {
7172 email,
7273 getVehicleModel,
7374 getAspectRatio,
75+ MonkSearchParam,
7476
7577 /* Mocks */
7678 useMonkTheme : jest . fn ( ( ) => createTheme ( ) ) ,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export = {
3232 isUserAuthorized : jest . fn ( ( ) => true ) ,
3333 isTokenExpired : jest . fn ( ( ) => false ) ,
3434 isTokenValid : jest . fn ( ( ) => true ) ,
35- getApiConfigOrThrow : jest . fn ( ) ,
35+ getAuthConfig : jest . fn ( ) ,
3636 useAuth : jest . fn ( ( ) => ( {
3737 authToken : null ,
3838 login : jest . fn ( ( ) => Promise . resolve ( '' ) ) ,
You can’t perform that action at this time.
0 commit comments