Fix tests.
This commit is contained in:
parent
8bfa47b5a3
commit
133a64edd6
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue