diff --git a/packages/api/src/router/test/widgets/custom-api-v2.spec.ts b/packages/api/src/router/test/widgets/custom-api-v2.spec.ts index f392062a3..4d85250b5 100644 --- a/packages/api/src/router/test/widgets/custom-api-v2.spec.ts +++ b/packages/api/src/router/test/widgets/custom-api-v2.spec.ts @@ -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")), ]); });