Merge pull request #13149 from JosephLivengood/fix/node-server-static
Fix to test string in challenge 'Serve an HTML file'pull/13152/head
commit
402bc57408
|
@ -94,7 +94,7 @@
|
|||
"tests": [
|
||||
{
|
||||
"text" : "Your app should serve the file views/index.html",
|
||||
"testString" : "getUserInput => $.get(getUserInput('url')).then(data => { assert.match(data, /<h1>.*<\\/h1>/. 'Your app does not serve the expected HTML'); }, xhr => { throw new Error(xhr.responseText); })"
|
||||
"testString" : "getUserInput => $.get(getUserInput('url')).then(data => { assert.match(data, /<h1>.*<\\/h1>/, 'Your app does not serve the expected HTML'); }, xhr => { throw new Error(xhr.responseText); })"
|
||||
}
|
||||
],
|
||||
"solutions": [],
|
||||
|
|
Loading…
Reference in New Issue