diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-08-11 21:40:23 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-08-11 21:40:23 +0900 |
commit | 0b98a22eba4f7bbac215abd800293ac2be67b24d (patch) | |
tree | ae78b7edc460a79708742bff55c4c6fa55699e47 /test/background/repositories/Mark.test.ts | |
parent | f497109ecc801660dc23bbad8445b120cd75561e (diff) |
Enable @typescript-eslint/no-extra-non-null-assertion
Diffstat (limited to 'test/background/repositories/Mark.test.ts')
-rw-r--r-- | test/background/repositories/Mark.test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/background/repositories/Mark.test.ts b/test/background/repositories/Mark.test.ts index 5cee5b6..3b054e5 100644 --- a/test/background/repositories/Mark.test.ts +++ b/test/background/repositories/Mark.test.ts @@ -13,13 +13,13 @@ describe("background/repositories/mark", () => { await repository.setMark("A", mark); - let got = (await repository.getMark("A"))!!; + let got = (await repository.getMark("A"))!; expect(got.tabId).to.equal(1); expect(got.url).to.equal("http://example.com"); expect(got.x).to.equal(10); expect(got.y).to.equal(30); - got = (await repository.getMark("B"))!!; + got = (await repository.getMark("B"))!; expect(got).to.be.undefined; }); }); |