about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorAlan Pearce2017-06-18 17:42:21 +0200
committerAlan Pearce2017-06-18 17:42:21 +0200
commit33171a749162685e42650f82041cd2af0136718d (patch)
treebd6970a89c47db7ea13698ca378eae0df605af0d /test
parent1a36d4dc311a86246fe854da888af01f8195368e (diff)
downloadhomestead-33171a749162685e42650f82041cd2af0136718d.tar.lz
homestead-33171a749162685e42650f82041cd2af0136718d.tar.zst
homestead-33171a749162685e42650f82041cd2af0136718d.zip
feat(posts): render posts as markdown
Diffstat (limited to 'test')
-rw-r--r--test/index.test.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/index.test.js b/test/index.test.js
index a81dbb6..e13e52c 100644
--- a/test/index.test.js
+++ b/test/index.test.js
@@ -18,7 +18,7 @@ test('post', t => {
   return request(app.listen())
     .get('/post/testfile')
     .expect(200)
-    .expect(/Lorem ipsum/)
+    .expect(/<h1>Lorem ipsum<\/h1>/)
     .then(() => t.pass())
 })