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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training