aboutsummaryrefslogtreecommitdiff
path: root/test/background/operators/impls/TogglePinnedTabOperator.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/background/operators/impls/TogglePinnedTabOperator.test.ts')
-rw-r--r--test/background/operators/impls/TogglePinnedTabOperator.test.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/background/operators/impls/TogglePinnedTabOperator.test.ts b/test/background/operators/impls/TogglePinnedTabOperator.test.ts
index f155f83..fbd6c39 100644
--- a/test/background/operators/impls/TogglePinnedTabOperator.test.ts
+++ b/test/background/operators/impls/TogglePinnedTabOperator.test.ts
@@ -1,4 +1,3 @@
-import { expect } from "chai";
import TogglePinnedTabOperator from "../../../../src/background/operators/impls/TogglePinnedTabOperator";
import MockTabPresenter from "../../mock/MockTabPresenter";
@@ -17,13 +16,13 @@ describe("TogglePinnedTabOperator", () => {
const sut = new TogglePinnedTabOperator(tabPresenter);
await sut.run();
- expect((await tabPresenter.getAll()).map((t) => t.pinned)).to.deep.equal([
+ expect((await tabPresenter.getAll()).map((t) => t.pinned)).toEqual([
true,
false,
]);
await sut.run();
- expect((await tabPresenter.getAll()).map((t) => t.pinned)).to.deep.equal([
+ expect((await tabPresenter.getAll()).map((t) => t.pinned)).toEqual([
false,
false,
]);