all repos — archive/homestead @ 9937c2a51ad9944da0239ebd7f777e5d6d8233d4

My future indieweb platform

fix: Add missing doctype via stream concat rheo appears to be stripping it out

Alan Pearce
commit

9937c2a51ad9944da0239ebd7f777e5d6d8233d4

parent

31f441ff32ab9f52fc80d0835bdd074554587ef6

1 file changed, 2 insertions(+), 0 deletions(-)

changed files
M test/app.test.jstest/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");