aboutsummaryrefslogtreecommitdiff
path: root/test/background/operators/impls/TabOperatorFactoryChain.test.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-07-29 22:29:40 +0900
committerGitHub <noreply@github.com>2021-07-29 22:29:40 +0900
commit5592b02a1500062628063862158116f382f3d8e2 (patch)
tree5c29d29a8fa1aa14f4f6407a66bcaf528c42555c /test/background/operators/impls/TabOperatorFactoryChain.test.ts
parent75236e9a41788f64df61b14a99e78aedc548e0ad (diff)
parent1160cf8aedf9810a76d84e3d99a72365e8aeae8a (diff)
Merge pull request #1213 from ueokande/cross-frame-search
Cross frame search
Diffstat (limited to 'test/background/operators/impls/TabOperatorFactoryChain.test.ts')
-rw-r--r--test/background/operators/impls/TabOperatorFactoryChain.test.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/background/operators/impls/TabOperatorFactoryChain.test.ts b/test/background/operators/impls/TabOperatorFactoryChain.test.ts
index 7ab5de0..a777973 100644
--- a/test/background/operators/impls/TabOperatorFactoryChain.test.ts
+++ b/test/background/operators/impls/TabOperatorFactoryChain.test.ts
@@ -44,12 +44,12 @@ describe("TabOperatorFactoryChain", () => {
expect(sut.create({ type: operations.TAB_FIRST })).to.be.instanceOf(
SelectFirstTabOperator
);
- expect(
- sut.create({ type: operations.TAB_LAST, newTab: false })
- ).to.be.instanceOf(SelectLastTabOperator);
- expect(
- sut.create({ type: operations.TAB_PREV_SEL, newTab: false })
- ).to.be.instanceOf(SelectPreviousSelectedTabOperator);
+ expect(sut.create({ type: operations.TAB_LAST })).to.be.instanceOf(
+ SelectLastTabOperator
+ );
+ expect(sut.create({ type: operations.TAB_PREV_SEL })).to.be.instanceOf(
+ SelectPreviousSelectedTabOperator
+ );
expect(
sut.create({ type: operations.TAB_RELOAD, cache: false })
).to.be.instanceOf(ReloadTabOperator);