aboutsummaryrefslogtreecommitdiff
path: root/test/content/repositories/MarkRepository.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/content/repositories/MarkRepository.test.ts')
-rw-r--r--test/content/repositories/MarkRepository.test.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/content/repositories/MarkRepository.test.ts b/test/content/repositories/MarkRepository.test.ts
index f2a7326..b4486a1 100644
--- a/test/content/repositories/MarkRepository.test.ts
+++ b/test/content/repositories/MarkRepository.test.ts
@@ -1,12 +1,11 @@
import { MarkRepositoryImpl } from "../../../src/content/repositories/MarkRepository";
-import { expect } from "chai";
describe("MarkRepositoryImpl", () => {
it("save and load marks", () => {
const sut = new MarkRepositoryImpl();
sut.set("a", { x: 10, y: 20 });
- expect(sut.get("a")).to.deep.equal({ x: 10, y: 20 });
- expect(sut.get("b")).to.be.null;
+ expect(sut.get("a")).toEqual({ x: 10, y: 20 });
+ expect(sut.get("b")).toBeNull;
});
});