Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
techweb_cci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ESTELLON Bertrand
techweb_cci
Commits
7672728f
Commit
7672728f
authored
7 months ago
by
ESTELLON Bertrand
Browse files
Options
Downloads
Patches
Plain Diff
Correction des tests du TD45
parent
5268bb10
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
TD45/all.test.js
+2
-2
2 additions, 2 deletions
TD45/all.test.js
with
2 additions
and
2 deletions
TD45/all.test.js
+
2
−
2
View file @
7672728f
...
...
@@ -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
}
`
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment