aboutsummaryrefslogtreecommitdiff
path: root/test/content/mock/MockOperationClient.ts
blob: 2f50f77445a887608b71788506dfe1405297ae5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import OperationClient from "../../../src/content/client/OperationClient";
import * as operations from "../../../src/shared/operations";

export default class MockOperationClient implements OperationClient {
  execBackgroundOp(_repeat: number, _op: operations.Operation): Promise<void> {
    throw new Error("not implemented");
  }

  internalOpenUrl(
    _url: string,
    _newTab?: boolean,
    _background?: boolean
  ): Promise<void> {
    throw new Error("not implemented");
  }
}