diff --git a/tests/advanced-scenarios.test.ts b/tests/advanced-scenarios.test.ts index c3ba72a..82aa768 100644 --- a/tests/advanced-scenarios.test.ts +++ b/tests/advanced-scenarios.test.ts @@ -8,6 +8,16 @@ describe('DailyNotification Advanced Scenarios', () => { beforeEach(() => { mockPlugin = { + // Configuration methods + configure: jest.fn(), + maintainRollingWindow: jest.fn(), + getRollingWindowStats: jest.fn(), + getExactAlarmStatus: jest.fn(), + requestExactAlarmPermission: jest.fn(), + openExactAlarmSettings: jest.fn(), + getRebootRecoveryStatus: jest.fn(), + + // Existing methods scheduleDailyNotification: jest.fn(), getLastNotification: jest.fn(), cancelAllNotifications: jest.fn(), diff --git a/tests/daily-notification.test.ts b/tests/daily-notification.test.ts index 8702d05..d5cf8fc 100644 --- a/tests/daily-notification.test.ts +++ b/tests/daily-notification.test.ts @@ -22,6 +22,16 @@ describe('DailyNotification Plugin', () => { beforeEach(() => { // Create mock plugin with all required methods mockPlugin = { + // Configuration methods + configure: jest.fn(), + maintainRollingWindow: jest.fn(), + getRollingWindowStats: jest.fn(), + getExactAlarmStatus: jest.fn(), + requestExactAlarmPermission: jest.fn(), + openExactAlarmSettings: jest.fn(), + getRebootRecoveryStatus: jest.fn(), + + // Existing methods scheduleDailyNotification: jest.fn(), getLastNotification: jest.fn(), cancelAllNotifications: jest.fn(), diff --git a/tests/edge-cases.test.ts b/tests/edge-cases.test.ts index beb25fa..ec6905d 100644 --- a/tests/edge-cases.test.ts +++ b/tests/edge-cases.test.ts @@ -13,6 +13,16 @@ describe('DailyNotification Edge Cases', () => { beforeEach(() => { mockPlugin = { + // Configuration methods + configure: jest.fn(), + maintainRollingWindow: jest.fn(), + getRollingWindowStats: jest.fn(), + getExactAlarmStatus: jest.fn(), + requestExactAlarmPermission: jest.fn(), + openExactAlarmSettings: jest.fn(), + getRebootRecoveryStatus: jest.fn(), + + // Existing methods scheduleDailyNotification: jest.fn(), getLastNotification: jest.fn(), cancelAllNotifications: jest.fn(), diff --git a/tests/enterprise-scenarios.test.ts b/tests/enterprise-scenarios.test.ts index 0cc5e4c..654073d 100644 --- a/tests/enterprise-scenarios.test.ts +++ b/tests/enterprise-scenarios.test.ts @@ -12,6 +12,16 @@ describe('DailyNotification Enterprise Scenarios', () => { beforeEach(() => { mockPlugin = { + // Configuration methods + configure: jest.fn(), + maintainRollingWindow: jest.fn(), + getRollingWindowStats: jest.fn(), + getExactAlarmStatus: jest.fn(), + requestExactAlarmPermission: jest.fn(), + openExactAlarmSettings: jest.fn(), + getRebootRecoveryStatus: jest.fn(), + + // Existing methods scheduleDailyNotification: jest.fn(), getLastNotification: jest.fn(), cancelAllNotifications: jest.fn(),