diff options
| author | Tobias Järvelöv <tobias.jarvelov@mullvad.net> | 2025-05-20 21:24:28 +0200 |
|---|---|---|
| committer | Sebastian Holmin <sebastian.holmin@mullvad.net> | 2025-05-28 13:25:41 +0200 |
| commit | 3e0455c81e5beacbc11d6e3d701a4e1479237a6a (patch) | |
| tree | 6054213989100432f9597307cc80aef3e5d0500a | |
| parent | 2e2fefef3639b42bb9b4c068b82652c62e255f25 (diff) | |
| download | mullvadvpn-3e0455c81e5beacbc11d6e3d701a4e1479237a6a.tar.xz mullvadvpn-3e0455c81e5beacbc11d6e3d701a4e1479237a6a.zip | |
Update class in test with new methods from implementation
| -rw-r--r-- | desktop/packages/mullvad-vpn/test/unit/notification-evaluation.spec.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop/packages/mullvad-vpn/test/unit/notification-evaluation.spec.ts b/desktop/packages/mullvad-vpn/test/unit/notification-evaluation.spec.ts index 7b87fe8492..5ec99d83b6 100644 --- a/desktop/packages/mullvad-vpn/test/unit/notification-evaluation.spec.ts +++ b/desktop/packages/mullvad-vpn/test/unit/notification-evaluation.spec.ts @@ -10,6 +10,7 @@ import { UnsupportedVersionNotificationProvider, UpdateAvailableNotificationProvider, } from '../../src/shared/notifications'; +import { RoutePath } from '../../src/shared/routes'; function createController() { return new NotificationController({ @@ -17,6 +18,9 @@ function createController() { /* no-op */ }, openLink: (_url: string, _withAuth?: boolean) => Promise.resolve(), + openRoute: (_url: RoutePath) => { + /* no-op */ + }, showNotificationIcon: (_value: boolean) => { /* no-op */ }, |
