mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-10 17:10:06 -04:00
Fixes undefined $app/navigation
This commit is contained in:
parent
3c015153de
commit
7f861663d8
2 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,8 @@
|
|||
"jest": {
|
||||
"transform": {},
|
||||
"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": {
|
||||
|
|
1
tests/__mocks__/$app/navigation.js
Normal file
1
tests/__mocks__/$app/navigation.js
Normal file
|
@ -0,0 +1 @@
|
|||
export function pushState() {}
|
Loading…
Add table
Add a link
Reference in a new issue