Skip to content

Commit

Permalink
fix: Is there a way to not upgrade a package if it's peer depndencies…
Browse files Browse the repository at this point in the history
… are not currently met raineorshine#1418
  • Loading branch information
rbnayax committed Jun 2, 2024
1 parent 9050aa9 commit e4a411a
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions test/helpers/doctorHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('')
}

Expand Down

0 comments on commit e4a411a

Please sign in to comment.