Browse Source

Test(glance-on-power): changed Hello There ! to Hello There

pull/2716/head
OUMAIMA FISAOUI 2 months ago committed by Oumaima Fisaoui
parent
commit
a53b9b2654
  1. 4
      js/tests/glance-on-power.json

4
js/tests/glance-on-power.json

@ -12,7 +12,7 @@
"code": "const args = saveArguments(console, 'log')\n\n// Your code\n\nconst typeOfLoggedValues = args.flat().map((v) => typeof v)\nif (!typeOfLoggedValues.includes('string')) {\n throw Error('you must log a string')\n}"
},
{
"description": "Log the string Hello There ! in the console",
"code": "const args = saveArguments(console, 'log')\n\n// Your code\n\nconst loggedValues = args.flat().join(' ')\nif (!loggedValues.includes('Hello There !')) {\n throw Error('you must log the text Hello There !')\n}"
"description": "Log the string Hello There! in the console",
"code": "const args = saveArguments(console, 'log')\n\n// Your code\n\nconst loggedValues = args.flat().join(' ')\nif (!loggedValues.includes('Hello There!')) {\n throw Error('you must log the text Hello There!')\n}"
}
]

Loading…
Cancel
Save