Fix tests.

This commit is contained in:
Sam Rose 2025-02-11 14:45:26 +00:00
parent 8bfa47b5a3
commit 133a64edd6
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ if (descriptions.length) {
.executeQuery({ query: { queryId: null } })
.test({ fields: {} })
expect(steps[0].outputs.response.message).toEqual("Invalid inputs")
expect(steps[0].outputs.response).toStartWith("Error:")
expect(steps[0].outputs.success).toEqual(false)
})
@ -68,7 +68,7 @@ if (descriptions.length) {
.executeQuery({ query: { queryId: "wrong_id" } })
.test({ fields: {} })
expect(steps[0].outputs.response).toBeDefined()
expect(steps[0].outputs.response).toStartWith("Error:")
expect(steps[0].outputs.success).toEqual(false)
})
}