File tree Expand file tree Collapse file tree
src/gateway/server-methods Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,15 +29,7 @@ const mocks = vi.hoisted(() => ({
2929 shouldClearStoredApnsRegistration : vi . fn ( ( ) => false ) ,
3030} ) ) ;
3131
32- vi . mock ( "../../infra/push-apns.js" , ( ) => ( {
33- clearApnsRegistrationIfCurrent : mocks . clearApnsRegistrationIfCurrent ,
34- loadApnsRegistration : mocks . loadApnsRegistration ,
35- resolveApnsAuthConfigFromEnv : mocks . resolveApnsAuthConfigFromEnv ,
36- resolveApnsRelayConfigFromEnv : mocks . resolveApnsRelayConfigFromEnv ,
37- sendApnsBackgroundWake : mocks . sendApnsBackgroundWake ,
38- sendApnsAlert : mocks . sendApnsAlert ,
39- shouldClearStoredApnsRegistration : mocks . shouldClearStoredApnsRegistration ,
40- } ) ) ;
32+ vi . mock ( "../../infra/push-apns.js" , ( ) => mocks ) ;
4133
4234import { testing as wakeTesting } from "./nodes-wake-state.js" ;
4335import { maybeWakeNodeWithApns } from "./nodes.js" ;
You can’t perform that action at this time.
0 commit comments