Skip to content

Commit

Permalink
null check
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Feb 6, 2024
1 parent e9da2a9 commit d37f9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/tests/integration/errors.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe("Error handling", () => {
throw new Error(`Unexpected status ${statusRes.status} for response: ${JSON.stringify(statusRes.data)}`);
}
const statusValues = statusRes.data.data;
if (statusValues.assign === "finished" && statusValues.microreact === "finished" && statusValues.network === "finished") {
if (statusValues && statusValues.assign === "finished" && statusValues.microreact === "finished" && statusValues.network === "finished") {
finished = true;
break;
}
Expand Down

0 comments on commit d37f9b3

Please sign in to comment.