Unverified Commit 3d5a9bf5 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix next info test during stable release (#35668)

parent 50be7cc1
...@@ -491,7 +491,12 @@ describe('CLI Usage', () => { ...@@ -491,7 +491,12 @@ describe('CLI Usage', () => {
stdout: true, stdout: true,
stderr: true, stderr: true,
}) })
// 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.stderr || '').toBe('')
}
expect(info.stdout).toMatch( expect(info.stdout).toMatch(
new RegExp(` new RegExp(`
Operating System: Operating System:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment