Skip to content

Commit

Permalink
fix: fix breaking test
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Apr 29, 2024
1 parent 9cd7183 commit d80d7bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/commands/add.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ test.group('Install', (group) => {
await command.exec()

command.assertExitCode(1)
command.assertLogMatches(/Command failed with exit code 1/)
command.assertLogMatches(/pnpm install.*inexistent exited/)
})

test('display error if configure fail', async ({ fs }) => {
Expand Down
2 changes: 1 addition & 1 deletion tests/commands/configure.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ test.group('Configure command | run', (group) => {
assert.equal(command.exitCode, 1)
assert.deepInclude(
lastLog.message,
'[ red(error) ] Command failed with exit code 1: npm install -D is-odd@15.0.0'
'[ red(error) ] npm install -D is-odd@15.0.0 exited with a status of 1.'
)
})
})
Expand Down

0 comments on commit d80d7bf

Please sign in to comment.