diff --git a/test/integration/cli/test/index.test.js b/test/integration/cli/test/index.test.js index c3d7aad3092b9..de5951fbcfef3 100644 --- a/test/integration/cli/test/index.test.js +++ b/test/integration/cli/test/index.test.js @@ -491,7 +491,12 @@ describe('CLI Usage', () => { stdout: true, stderr: true, }) - expect(info.stderr || '').toBe('') + + // when a stable release is done the non-latest canary + // warning will show so skip this check for the stable release + if (pkg.version.includes('-canary')) { + expect(info.stderr || '').toBe('') + } expect(info.stdout).toMatch( new RegExp(` Operating System: