blob: 3d40bb4afeffcd6db2c05f7d8f6bf27fcd06cb1d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import ConsoleFramePresenter from "../../../../src/content/presenters/ConsoleFramePresenter";
export default class MockConsoleFramePresenter
implements ConsoleFramePresenter
{
constructor(public attached: boolean) {}
attach(): void {
this.attached = true;
}
detach(): void {
this.attached = false;
}
blur(): void {
throw new Error("not implemented");
}
resize(_width: number, _height: number): void {
throw new Error("not implemented");
}
isTopWindow(): boolean {
return true;
}
}
|