aboutsummaryrefslogtreecommitdiff
path: root/test/background/operators/impls/ZoomOperatorFactoryChain.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/background/operators/impls/ZoomOperatorFactoryChain.test.ts')
-rw-r--r--test/background/operators/impls/ZoomOperatorFactoryChain.test.ts9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/background/operators/impls/ZoomOperatorFactoryChain.test.ts b/test/background/operators/impls/ZoomOperatorFactoryChain.test.ts
index 10c1cee..ab40a86 100644
--- a/test/background/operators/impls/ZoomOperatorFactoryChain.test.ts
+++ b/test/background/operators/impls/ZoomOperatorFactoryChain.test.ts
@@ -1,5 +1,4 @@
import "reflect-metadata";
-import { expect } from "chai";
import ZoomOperatorFactoryChain from "../../../../src/background/operators/impls/ZoomOperatorFactoryChain";
import MockZoomPresenter from "../../mock/MockZoomPresenter";
import ZoomInOperator from "../../../../src/background/operators/impls/ZoomInOperator";
@@ -13,16 +12,16 @@ describe("ZoomOperatorFactoryChain", () => {
const zoomPresenter = new MockZoomPresenter();
const sut = new ZoomOperatorFactoryChain(zoomPresenter);
- expect(sut.create({ type: operations.ZOOM_IN })).to.be.instanceOf(
+ expect(sut.create({ type: operations.ZOOM_IN })).toBeInstanceOf(
ZoomInOperator
);
- expect(sut.create({ type: operations.ZOOM_OUT })).to.be.instanceOf(
+ expect(sut.create({ type: operations.ZOOM_OUT })).toBeInstanceOf(
ZoomOutOperator
);
- expect(sut.create({ type: operations.ZOOM_NEUTRAL })).to.be.instanceOf(
+ expect(sut.create({ type: operations.ZOOM_NEUTRAL })).toBeInstanceOf(
ResetZoomOperator
);
- expect(sut.create({ type: operations.CANCEL })).to.be.null;
+ expect(sut.create({ type: operations.CANCEL })).toBeNull;
});
});
});