Skip to content

Commit

Permalink
fix: add json encoding to test
Browse files Browse the repository at this point in the history
  • Loading branch information
soniqua committed Aug 20, 2024
1 parent c28d1cc commit 4448b13
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/functional/systemcheck-universal.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,12 @@ describe('broker client systemcheck endpoint', () => {

const response = await axiosClient.get(
`http://localhost:${bc.port}/systemcheck`,
{ timeout: 10_000 },
{
timeout: 10_000,
headers: {
'Content-Type': 'application/json',
},
},
);

expect(response.data).toBeInstanceOf(Array);
Expand Down

0 comments on commit 4448b13

Please sign in to comment.