fix: Add missing doctype via stream concat rheo appears to be stripping it out
1 file changed, 2 insertions(+), 0 deletions(-)
changed files
M test/app.test.js → test/app.test.js
@@ -18,6 +18,7 @@ test("homepage", t => { return request(app.listen()) .get("/") .expect(200) + .expect(/^<!DOCTYPE html>/) .then(parseResponse) .then($ => { t.is($("head > title").text(), config.site.title);@@ -30,6 +31,7 @@ test("post", t => { return request(app.listen()) .get("/post/testfile") .expect(200) + .expect(/^<!DOCTYPE html>/) .then(parseResponse) .then($ => { t.is($("article h1").text(), "This is a test");