From 9af8cc8fe2d3829cb4f180923699a745389d6b71 Mon Sep 17 00:00:00 2001 From: Olivier Yiptong Date: Fri, 11 Sep 2015 11:36:06 -0400 Subject: [PATCH] addressing review comment --- test/script_test_example.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/script_test_example.js b/test/script_test_example.js index 4cb1fcf..3d92be0 100644 --- a/test/script_test_example.js +++ b/test/script_test_example.js @@ -17,7 +17,10 @@ describe("use of HTML fixtures and JS", () => { var script = document.createElement("script"); script.setAttribute("type", "text/javascript;version=1.8"); - script.textContent = "let elem = document.querySelector(\"#element-exists\"); elem.textContent = \"Hello World\";"; + script.textContent = ` + let elem = document.querySelector("#element-exists"); + elem.textContent = "Hello World"; + `; document.body.appendChild(script); expect(elem.textContent).to.equal("Hello World");