aboutsummaryrefslogtreecommitdiff
path: root/test/background/repositories
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-09-23 23:23:55 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-09-25 15:53:36 +0900
commitb72728bdabf140c77f165b35813595dcaa060eea (patch)
tree774dc608f28101ac4a0ecce02e458e421b94dcdc /test/background/repositories
parent01242a2f0d174b4bf8b51fd5627edced465757e9 (diff)
Create find targets by port connections
Diffstat (limited to 'test/background/repositories')
-rw-r--r--test/background/repositories/FindRepository.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/background/repositories/FindRepository.test.ts b/test/background/repositories/FindRepository.test.ts
index a08dc6d..d8c9506 100644
--- a/test/background/repositories/FindRepository.test.ts
+++ b/test/background/repositories/FindRepository.test.ts
@@ -25,12 +25,12 @@ describe("background/repositories/FindRepositoryImpl", () => {
await sut.setLocalState(10, {
keyword: "Hello, world",
- frameIds: [20, 21],
- framePos: 0,
+ frameId: 11,
});
const state = await sut.getLocalState(10);
expect(state?.keyword).to.equal("Hello, world");
+ expect(state?.frameId).to.equal(11);
expect(await sut.getLocalState(20)).to.be.undefined;
});