diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-03-22 20:44:07 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 20:44:07 +0900 |
commit | fa733c1ff110054f673f3d4e8d4760eb90d5d1eb (patch) | |
tree | 0a7d9f041a01d29f0bc5972a343e4988dc71b468 /test/content/operators/impls/AddonOperatorFactoryChain.test.ts | |
parent | 3cbaf4a9f4245bd6be4eccdbff11e20ffaaf523a (diff) | |
parent | 690c9c080a2a511a30d555a90e5005e06b750351 (diff) |
Merge pull request #1043 from ueokande/iframe-late-inject
iframe Late injection
Diffstat (limited to 'test/content/operators/impls/AddonOperatorFactoryChain.test.ts')
-rw-r--r-- | test/content/operators/impls/AddonOperatorFactoryChain.test.ts | 4 |
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 |