aboutsummaryrefslogtreecommitdiff
path: root/test/content/operators/impls/ScrollToHomeOperator.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/content/operators/impls/ScrollToHomeOperator.test.ts')
-rw-r--r--test/content/operators/impls/ScrollToHomeOperator.test.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/content/operators/impls/ScrollToHomeOperator.test.ts b/test/content/operators/impls/ScrollToHomeOperator.test.ts
index f8614d2..e09c16a 100644
--- a/test/content/operators/impls/ScrollToHomeOperator.test.ts
+++ b/test/content/operators/impls/ScrollToHomeOperator.test.ts
@@ -1,4 +1,3 @@
-import { expect } from "chai";
import ScrollToHomeOperator from "../../../../src/content/operators/impls/ScrollToHomeOperator";
import MockScrollPresenter from "../../mock/MockScrollPresenter";
import MockSettingRepository from "../../mock/MockSettingRepository";
@@ -12,7 +11,7 @@ describe("ScrollToHomeOperator", () => {
await sut.run();
- expect(presenter.getScroll()).to.deep.equal({ x: 0, y: 10 });
+ expect(presenter.getScroll()).toEqual({ x: 0, y: 10 });
});
});
});