test: match custom widget cache version

This commit is contained in:
ajnart committed 2026-08-14 11:07:02 +02:00
1 parent afa54755fd
commit e41d938a5f
1 file changed
+1 -1
@@ -124,7 +124,7 @@ describe("Custom JSX v2 board router", () => {
await caller.refresh({ itemId });
expect(mocks.invalidateResponseCache).toHaveBeenCalledWith([
expect.stringMatching(new RegExp(`^custom-jsx:${itemId}:\\d+:$`, "u")),
expect.stringMatching(new RegExp(`^custom-jsx:${itemId}:[a-f0-9]{16}:$`, "u")),
]);
});