Skip to content
Snippets Groups Projects
Commit 7672728f authored by ESTELLON Bertrand's avatar ESTELLON Bertrand
Browse files

Correction des tests du TD45

parent 5268bb10
Branches
No related tags found
No related merge requests found
......@@ -99,8 +99,8 @@ if (progression >= 28 && progression < 30) {
page.on('console', async consoleObj => {
const args = consoleObj.args();
const arg0 = args[0];
if (arg0 == undefined) return;
const json = await arg0.jsonValue();
if (json == undefined) return;
consoleLogs.push(json)
});
await page.goto(`http://localhost:${fastify.server.address().port}`);
......@@ -126,8 +126,8 @@ if (progression == 29) {
page.on('console', async consoleObj => {
const args = consoleObj.args();
const arg0 = args[0];
if (arg0 == undefined) return;
const json = await arg0.jsonValue();
if (json == undefined) return;
consoleLogs.push(json)
});
await page.goto(`http://localhost:${fastify.server.address().port}`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment