NeuraLegion/cypress-har-generator

View on GitHub
src/network/ObserverFactory.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { NetworkObserverOptions } from './NetworkObserverOptions';
import type { Observer } from './Observer';
import { NetworkRequest } from './NetworkRequest';
import type { Network } from './Network';

export interface ObserverFactory {
  createNetworkObserver(
    network: Network,
    options: NetworkObserverOptions
  ): Observer<NetworkRequest>;
}