From 5ed48119f646bea07a5ac5e94bd6a5f685123ea7 Mon Sep 17 00:00:00 2001 From: Joseph Livengood Date: Sat, 4 Feb 2017 21:52:54 -0500 Subject: [PATCH] Fix to test string in challenge 'Serve an HTML file' --- .../05-apis-and-microservices/basic-node-and-express.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/05-apis-and-microservices/basic-node-and-express.json b/seed/challenges/05-apis-and-microservices/basic-node-and-express.json index 41edb5ae22..62b7ac638a 100644 --- a/seed/challenges/05-apis-and-microservices/basic-node-and-express.json +++ b/seed/challenges/05-apis-and-microservices/basic-node-and-express.json @@ -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>/. '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>/, 'Your app does not serve the expected HTML'); }, xhr => { throw new Error(xhr.responseText); })" } ], "solutions": [],