@@ -213,7 +213,7 @@ main = AF.launchAff_ $ TSR.runSpec [consoleReporter] do
213213 ]
214214 ]
215215 html' <- liftEffect $ FRS .render html
216- TSA .shouldEqual """ <html><head><title>title</title></head><body><main><button>-</button><br>Test<button>+</button><svg viewBox="0 0 23 0"><path d="234" /></svg><div><div><span><a>here</a></span></div></div></main></body></html>""" html'
216+ TSA .shouldEqual """ <!DOCTYPE html>< html><head><title>title</title></head><body><main><button>-</button><br>Test<button>+</button><svg viewBox="0 0 23 0"><path d="234" /></svg><div><div><span><a>here</a></span></div></div></main></body></html>""" html'
217217
218218 TS .it " nested nodes with attributes" do
219219 let html = HE .html [HA .lang " en" ] [
@@ -232,7 +232,7 @@ main = AF.launchAff_ $ TSR.runSpec [consoleReporter] do
232232 ]
233233 ]
234234 html' <- liftEffect $ FRS .render html
235- TSA .shouldEqual """ <html lang="en"><head><title>title</title></head><body id="content"><main><button style="display: block; width: 20px">-</button><br>Test<button my-attribute="myValue">+</button><hr style="border: 200px solid blue"><div><div><span><a>here</a></span></div></div></main></body></html>""" html'
235+ TSA .shouldEqual """ <!DOCTYPE html>< html lang="en"><head><title>title</title></head><body id="content"><main><button style="display: block; width: 20px">-</button><br>Test<button my-attribute="myValue">+</button><hr style="border: 200px solid blue"><div><div><span><a>here</a></span></div></div></main></body></html>""" html'
236236
237237 TS .it " nested nodes with properties and attributes" do
238238 let html = HE .html [HA .lang " en" ] [
@@ -252,13 +252,13 @@ main = AF.launchAff_ $ TSR.runSpec [consoleReporter] do
252252 ]
253253 ]
254254 html' <- liftEffect $ FRS .render html
255- TSA .shouldEqual """ <html lang="en"><head disabled="disabled"><title>title</title></head><body id="content"><main><button style="display: block; width: 20px">-</button><br>Test<button my-attribute="myValue">+</button><hr style="border: 200px solid blue" autocomplete="off"><div><div><span><a autofocus="autofocus">here</a></span></div></div></main></body></html>""" html'
255+ TSA .shouldEqual """ <!DOCTYPE html>< html lang="en"><head disabled="disabled"><title>title</title></head><body id="content"><main><button style="display: block; width: 20px">-</button><br>Test<button my-attribute="myValue">+</button><hr style="border: 200px solid blue" autocomplete="off"><div><div><span><a autofocus="autofocus">here</a></span></div></div></main></body></html>""" html'
256256
257257 TS .describe " root node" do
258258 TS .it " root node is unchanged" do
259259 liftEffect unsafeCreateEnviroment
260260 let html = HE .div " test-div" $ HE .input [HA .id " t" , HA .value " a" ]
261- state <- mountHtml' html
261+ void $ mountHtml' html
262262 rootNode <- liftEffect $ FAD .querySelector " #mount-point"
263263 TSA .shouldSatisfy rootNode DM .isJust
264264
0 commit comments