Skip to content

Commit

Permalink
test: fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowgate15 committed Aug 2, 2022
1 parent 5d24895 commit 9c9293f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/api/v1/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ test('GET > successfully', async (t) => {
const res = await api.get(rootUrl);

t.is(res.status, 200);
t.like(res.body, _.omit(bree.config, 'logger'));
t.like(
res.body,
_.omit(bree.config, ['logger', 'workerMessageHandler', 'errorHandler'])
);
});

0 comments on commit 9c9293f

Please sign in to comment.