Skip to content

Commit

Permalink
expect 404 on unexpected sample
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Jan 29, 2024
1 parent a0d8b57 commit 44065ef
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 @@ -111,7 +111,7 @@ describe("Error handling", () => {

// get project data - should get error
const projectRes = await get(`project/${projectId}`, connectionCookie);
expect(projectRes.status).toBe(500);
expect(projectRes.status).toBe(404);
expect(projectRes.data.data).toBe(null);
expect(projectRes.data.errors).toStrictEqual([{
error: "Invalid data",
Expand Down

0 comments on commit 44065ef

Please sign in to comment.