Mejora de label
This commit is contained in:
@@ -24,10 +24,15 @@ runtime:
|
||||
expect(res.getStatus()).to.equal(200)
|
||||
})
|
||||
|
||||
test("Body must include a data field", () => {
|
||||
const body = res.getBody()
|
||||
expect(body.data).toBeDefined()
|
||||
})
|
||||
|
||||
test("Body should include the label", () => {
|
||||
const body = res.getBody()
|
||||
expect(body.label).to.be.defined()
|
||||
)}
|
||||
expect(body.data.label).toBeDefined()
|
||||
})
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
|
||||
Reference in New Issue
Block a user