/**
 * Test helpers for @bytelyst/push.
 */

import { setPush, _resetPush } from './factory.js';
import { MockPushProvider } from './providers/mock.js';

export function setTestPushProvider(): MockPushProvider {
  const provider = new MockPushProvider();
  setPush(provider);
  return provider;
}

export function resetTestPush(): void {
  _resetPush();
}

export { MockPushProvider } from './providers/mock.js';
