diff --git a/test/helpers/doctorHelpers.ts b/test/helpers/doctorHelpers.ts index 38902601..f794f183 100644 --- a/test/helpers/doctorHelpers.ts +++ b/test/helpers/doctorHelpers.ts @@ -77,19 +77,7 @@ export const testPass = ({ packageManager }: { packageManager: PackageManagerNam // bun prints the run header to stderr instead of stdout if (packageManager === 'bun') { stripAnsi(stderr).should.equal('$ echo Success\n\n$ echo Success\n\n') - } else if (packageManager === 'npm' && nodeMajorVersion === 18) { - stripAnsi(stderr).should.equal(` -> test -> echo Success - - - -> test -> echo Success - - -`) - } else { + } else if (!(packageManager === 'npm' && nodeMajorVersion === 18)) { stderr.should.equal('') }