diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-09-25 16:10:08 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-09-25 16:10:08 +0900 |
commit | fa3500e3bbd11caa0e7ad1633b85f95600cf962f (patch) | |
tree | 15eabaf191d6f2389bfd7c0a48d50d64be8bd81d /test | |
parent | b72728bdabf140c77f165b35813595dcaa060eea (diff) |
Sort frame IDs
Diffstat (limited to 'test')
-rw-r--r-- | test/background/repositories/ReadyFrameRepository.test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/background/repositories/ReadyFrameRepository.test.ts b/test/background/repositories/ReadyFrameRepository.test.ts index d952a9b..888f3f5 100644 --- a/test/background/repositories/ReadyFrameRepository.test.ts +++ b/test/background/repositories/ReadyFrameRepository.test.ts @@ -12,10 +12,11 @@ describe("background/repositories/ReadyFrameRepositoryImpl", () => { expect(await sut.getFrameIds(1)).to.be.undefined; await sut.addFrameId(1, 10); + await sut.addFrameId(1, 12); await sut.addFrameId(1, 11); await sut.addFrameId(2, 20); - expect(await sut.getFrameIds(1)).to.deep.equal([10, 11]); + expect(await sut.getFrameIds(1)).to.deep.equal([10, 11, 12]); expect(await sut.getFrameIds(2)).to.deep.equal([20]); await sut.clearFrameIds(1); |