aboutsummaryrefslogtreecommitdiff
path: root/test/background/operators/impls/FindOperatorFactoryChain.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/background/operators/impls/FindOperatorFactoryChain.ts')
-rw-r--r--test/background/operators/impls/FindOperatorFactoryChain.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/background/operators/impls/FindOperatorFactoryChain.ts b/test/background/operators/impls/FindOperatorFactoryChain.ts
index 0fd234f..6b190ed 100644
--- a/test/background/operators/impls/FindOperatorFactoryChain.ts
+++ b/test/background/operators/impls/FindOperatorFactoryChain.ts
@@ -1,5 +1,4 @@
import "reflect-metadata";
-import { expect } from "chai";
import TabOperatorFactoryChain from "../../../../src/background/operators/impls/TabOperatorFactoryChain";
import MockTabPresenter from "../../mock/MockTabPresenter";
import * as operations from "../../../../src/shared/operations";
@@ -12,10 +11,10 @@ describe("FindOperatorFactoryChain", () => {
const tabPresenter = new MockTabPresenter();
const sut = new TabOperatorFactoryChain(tabPresenter);
- expect(sut.create({ type: operations.FIND_NEXT })).to.be.instanceOf(
+ expect(sut.create({ type: operations.FIND_NEXT })).toBeInstanceOf(
FindNextOperator
);
- expect(sut.create({ type: operations.FIND_PREV })).to.be.instanceOf(
+ expect(sut.create({ type: operations.FIND_PREV })).toBeInstanceOf(
FindPrevOperator
);
});