aboutsummaryrefslogtreecommitdiff
path: root/test/content/operators/impls
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-09-26 14:19:27 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-09-26 16:12:58 +0900
commit645107c3fcc967e8b5824355c23287611d864612 (patch)
tree4df037cf5d6f1bf1f442543a14e6385edfc8c205 /test/content/operators/impls
parentb141c46a2afe31dc7a4bfdf7f59c8871def2de23 (diff)
Fix mismatched signature
Diffstat (limited to 'test/content/operators/impls')
-rw-r--r--test/content/operators/impls/FollowOperatorFactoryChain.test.ts9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/content/operators/impls/FollowOperatorFactoryChain.test.ts b/test/content/operators/impls/FollowOperatorFactoryChain.test.ts
index 526a93c..91f734b 100644
--- a/test/content/operators/impls/FollowOperatorFactoryChain.test.ts
+++ b/test/content/operators/impls/FollowOperatorFactoryChain.test.ts
@@ -8,12 +8,9 @@ describe("FocusOperatorFactoryChain", () => {
describe("#create", () => {
it("returns an operator", () => {
const sut = new FocusOperatorFactoryChain(new MockFocusPresenter());
- expect(
- sut.create(
- { type: operations.FOCUS_INPUT, newTab: false, background: false },
- 0
- )
- ).to.be.instanceOf(FocusOperator);
+ expect(sut.create({ type: operations.FOCUS_INPUT }, 0)).to.be.instanceOf(
+ FocusOperator
+ );
expect(sut.create({ type: operations.SCROLL_TOP }, 0)).to.be.null;
});
});