diff options
author | Alan Pearce | 2017-06-30 19:09:30 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-30 19:10:26 +0200 |
commit | 9937c2a51ad9944da0239ebd7f777e5d6d8233d4 (patch) | |
tree | 07ef1fba4dc75bcfc557608faccdb218078da7e4 /test | |
parent | 31f441ff32ab9f52fc80d0835bdd074554587ef6 (diff) | |
download | homestead-9937c2a51ad9944da0239ebd7f777e5d6d8233d4.tar.lz homestead-9937c2a51ad9944da0239ebd7f777e5d6d8233d4.tar.zst homestead-9937c2a51ad9944da0239ebd7f777e5d6d8233d4.zip |
fix: Add missing doctype via stream concat
rheo appears to be stripping it out
Diffstat (limited to 'test')
-rw-r--r-- | test/app.test.js | 2 |
1 files changed, 2 insertions, 0 deletions
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(/^<!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"); |