Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosantangelo committed Jun 2, 2022
1 parent 8a9b388 commit 5231753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test("pg component", function ({ components }) {
throw new Error(errorMessage)
})

await expect(() => pg.start()).rejects.toThrow(errorMessage)
await expect(pg.start()).rejects.toThrow(errorMessage)
expect(logger.error).toHaveBeenCalledWith(
`An error occurred trying to open the database. Error: '${errorMessage}'`
)
Expand Down

0 comments on commit 5231753

Please sign in to comment.