diff --git a/packages/client/src/components/PixelCard.spec.tsx b/packages/client/src/components/PixelCard.spec.tsx index 7ad66ea52a..2edf6aba72 100644 --- a/packages/client/src/components/PixelCard.spec.tsx +++ b/packages/client/src/components/PixelCard.spec.tsx @@ -57,7 +57,7 @@ describe('PixelCard palette', () => { .spyOn(HTMLElement.prototype, 'getBoundingClientRect') .mockReturnValue({ width: 200, height: 200 } as DOMRect); let sample = 0; - jest.spyOn(Math, 'random').mockImplementation(() => ((sample++ % 3) + 0.5) / 3); + jest.spyOn(Math, 'random').mockImplementation(() => ((sample++ % 7) + 0.5) / 7); render(); await waitFor(() =>