diff --git a/yarn-project/stdlib/src/update-checker/update-checker.test.ts b/yarn-project/stdlib/src/update-checker/update-checker.test.ts index c30ac1a5af86..a43e97aff329 100644 --- a/yarn-project/stdlib/src/update-checker/update-checker.test.ts +++ b/yarn-project/stdlib/src/update-checker/update-checker.test.ts @@ -92,7 +92,8 @@ describe('UpdateChecker', () => { [ 'newRollupVersion', () => { - getCanonicalRollupVersion.mockResolvedValueOnce(randomBigInt(1000n)); + // ensure the new version is completely different to the previous one + getCanonicalRollupVersion.mockResolvedValueOnce(1000n + randomBigInt(1000n)); }, ], [