diff --git a/test/integration/cli/test/index.test.js b/test/integration/cli/test/index.test.js index c3d7aad3092b..de5951fbcfef 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: