aboutsummaryrefslogtreecommitdiff
path: root/test/content/operators/impls/HorizontalScrollOperator.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/content/operators/impls/HorizontalScrollOperator.test.ts')
-rw-r--r--test/content/operators/impls/HorizontalScrollOperator.test.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/content/operators/impls/HorizontalScrollOperator.test.ts b/test/content/operators/impls/HorizontalScrollOperator.test.ts
index f77a34e..abe6856 100644
--- a/test/content/operators/impls/HorizontalScrollOperator.test.ts
+++ b/test/content/operators/impls/HorizontalScrollOperator.test.ts
@@ -1,4 +1,3 @@
-import { expect } from "chai";
import HorizontalScrollOperator from "../../../../src/content/operators/impls/HorizontalScrollOperator";
import MockScrollPresenter from "../../mock/MockScrollPresenter";
import MockSettingRepository from "../../mock/MockSettingRepository";
@@ -12,7 +11,7 @@ describe("HorizontalScrollOperator", () => {
await sut.run();
- expect(presenter.getScroll()).to.deep.equal({ x: 1, y: 0 });
+ expect(presenter.getScroll()).toEqual({ x: 1, y: 0 });
});
it("scroll horizontally with repeats", async () => {
@@ -22,7 +21,7 @@ describe("HorizontalScrollOperator", () => {
await sut.run();
- expect(presenter.getScroll()).to.deep.equal({ x: 5, y: 0 });
+ expect(presenter.getScroll()).toEqual({ x: 5, y: 0 });
});
});
});