Welcome to the Linux Foundation Forum!

Labs (ch-3 / labs-2)

Hi,

Wrong message in the validation log:

validate.js

`
async function okCheck () {
const res = await get(HOST)

assert.equal(
res.statusCode,
200,
GET ${HOST}/ must respond with a 200 OK status
)

console.log(☑️ GET ${HOST}/ responded with 404 Not Found status)
}
`

Comments

Categories

Upcoming Training