From 9937c2a51ad9944da0239ebd7f777e5d6d8233d4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 30 Jun 2017 19:09:30 +0200 Subject: fix: Add missing doctype via stream concat rheo appears to be stripping it out --- test/app.test.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/app.test.js b/test/app.test.js index 8507c41..4c90881 100644 --- a/test/app.test.js +++ b/test/app.test.js @@ -18,6 +18,7 @@ test("homepage", t => { return request(app.listen()) .get("/") .expect(200) + .expect(/^/) .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(/^/) .then(parseResponse) .then($ => { t.is($("article h1").text(), "This is a test"); -- cgit 1.4.1