Skip to content

Commit

Permalink
test fixup
Browse files Browse the repository at this point in the history
Signed-off-by: marcopiraccini <[email protected]>
  • Loading branch information
marcopiraccini committed May 28, 2024
1 parent 550d0c7 commit 2c9f28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/main/prepare-folder.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test('Install a non-existent template', async () => {
} catch (err) {
expect(err).toBeInstanceOf(Error)
expect(err.message).toContain('Command failed with exit code 1')
expect(logger.errors[0]).toEqual(['npm ERR! code E404'])
expect(logger.errors[0][0]).toContain('code E404')
}
})

Expand Down

0 comments on commit 2c9f28c

Please sign in to comment.