fix(seed): Fixed test to fail if console.clear is still commented out (#17097)

Closes #16958
pull/18182/head
Irina Brennen 2018-05-03 08:01:42 -05:00 committed by mrugesh mohapatra
parent 8ee64ebde5
commit 746413bd68
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@
"tests": [
"assert(code.match(/console\\.log\\(outputTwo\\)/g), 'message: Use <code>console.log()</code> to print the <code>outputTwice</code> variable. In your Browser Console this should print out the value of the variable two times.');",
"assert(code.match(/console\\.log\\(outputOne\\)/g), 'message: Use <code>console.log()</code> to print the <code>outputOne</code> variable.');",
"assert(code.match(/console\\.clear\\(\\)/g), 'message: Use <code>console.clear()</code> to modify your output so that <code>outputOne</code> variable only outputs once.');"
"assert(code.match(/(?<!\\/\\/ Use )console\\.clear\\(\\)/g), 'message: Use <code>console.clear()</code> to modify your output so that <code>outputOne</code> variable only outputs once.');"
],
"solutions": [],
"hints": [],