aboutsummaryrefslogtreecommitdiff
path: root/test/content/operators/impls/AddonOperatorFactoryChain.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/content/operators/impls/AddonOperatorFactoryChain.test.ts')
-rw-r--r--test/content/operators/impls/AddonOperatorFactoryChain.test.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/content/operators/impls/AddonOperatorFactoryChain.test.ts b/test/content/operators/impls/AddonOperatorFactoryChain.test.ts
index c064bb9..dde5a35 100644
--- a/test/content/operators/impls/AddonOperatorFactoryChain.test.ts
+++ b/test/content/operators/impls/AddonOperatorFactoryChain.test.ts
@@ -6,13 +6,15 @@ import * as operations from "../../../../src/shared/operations";
import { expect } from "chai";
import MockAddonIndicatorClient from "../../mock/MockAddonIndicatorClient";
import MockAddonEnabledRepository from "../../mock/MockAddonEnabledRepository";
+import MockConsoleFramePresenter from "./MockConsoleFramePresenter";
describe("AddonOperatorFactoryChain", () => {
describe("#create", () => {
it("returns an operator", () => {
const sut = new AddonOperatorFactoryChain(
new MockAddonIndicatorClient(),
- new MockAddonEnabledRepository()
+ new MockAddonEnabledRepository(),
+ new MockConsoleFramePresenter(false)
);
expect(sut.create({ type: operations.ADDON_ENABLE }, 0)).to.be.instanceOf(
EnableAddonOperator