Skip to content

Commit

Permalink
fix: make error message test more generic so it also tests correctly …
Browse files Browse the repository at this point in the history
…on CI
  • Loading branch information
AdriVanHoudt committed Jan 3, 2022
1 parent c9f83e6 commit 69d905b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ describe('Hapi MySQL', () => {
}
catch (err) {
expect(err).to.be.an.error();
expect(err.message).to.contain('ENOTFOUND');
expect(err.message).to.contain('getaddrinfo');

threw = true;
}
Expand Down

0 comments on commit 69d905b

Please sign in to comment.