Skip to content

Commit

Permalink
[ML] Adds status check.
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Jun 30, 2022
1 parent c684889 commit 145047c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ export default ({ getService }: FtrProviderContext) => {
body: JSON.stringify(requestBody),
});

expect(response.ok).to.be(true);
expect(response.status).to.be(200);

const stream = response.body;

expect(stream).not.to.be(null);
Expand Down

0 comments on commit 145047c

Please sign in to comment.