Skip to content

Commit

Permalink
fix(ignore): Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jul 31, 2023
1 parent 8139d7f commit ba0cc61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/settings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -776,8 +776,7 @@ describe('Settings', () => {

it('Should throw error when yaml file does not exist', () => {
settings.testing.clear();
const error = `ENOENT: no such file or directory, open '${configurationFile}'`;
expect(settings.validate()).toEqual(expect.arrayContaining([error]));
expect(settings.validate()[0].startsWith(`ENOENT: no such file or directory, open `)).toBeTruthy();
});

it('Configuration shouldnt be valid when invalid QOS value is used', async () => {
Expand Down

0 comments on commit ba0cc61

Please sign in to comment.