aboutsummaryrefslogtreecommitdiff
path: root/test/content/repositories/SettingRepository.test.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-09-26 17:01:31 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-09-26 17:23:14 +0900
commite304581fb15eabb3a973d363a282ee7546561e01 (patch)
tree1afb21a2dee2ada3d10c1417fa61c0aae1f83077 /test/content/repositories/SettingRepository.test.ts
parent11d6d725eee2ac0a1c16e4c7a4ce4f296bb6b016 (diff)
Do not use chai on unit test
Diffstat (limited to 'test/content/repositories/SettingRepository.test.ts')
-rw-r--r--test/content/repositories/SettingRepository.test.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/content/repositories/SettingRepository.test.ts b/test/content/repositories/SettingRepository.test.ts
index 99247a9..409012a 100644
--- a/test/content/repositories/SettingRepository.test.ts
+++ b/test/content/repositories/SettingRepository.test.ts
@@ -1,5 +1,4 @@
import { SettingRepositoryImpl } from "../../../src/content/repositories/SettingRepository";
-import { expect } from "chai";
import Settings from "../../../src/shared/settings/Settings";
describe("SettingRepositoryImpl", () => {
@@ -25,6 +24,6 @@ describe("SettingRepositoryImpl", () => {
sut.set(settings);
const actual = sut.get();
- expect(actual.properties.hintchars).to.equal("abcd1234");
+ expect(actual.properties.hintchars).toEqual("abcd1234");
});
});