aboutsummaryrefslogtreecommitdiff
path: root/test/background/repositories/FindRepository.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/background/repositories/FindRepository.test.ts')
-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;
});