Fixes undefined $app/navigation

This commit is contained in:
freearhey 2025-03-08 18:51:54 +03:00
parent 3c015153de
commit 7f861663d8
2 changed files with 3 additions and 1 deletions

View file

@ -14,7 +14,8 @@
"jest": { "jest": {
"transform": {}, "transform": {},
"moduleNameMapper": { "moduleNameMapper": {
"^\\$app/environment$": "<rootDir>/tests/__mocks__/$app/environment.js" "^\\$app/environment$": "<rootDir>/tests/__mocks__/$app/environment.js",
"^\\$app/navigation$": "<rootDir>/tests/__mocks__/$app/navigation.js"
} }
}, },
"devDependencies": { "devDependencies": {

View file

@ -0,0 +1 @@
export function pushState() {}