about summary refs log tree commit diff stats
path: root/test/index.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/index.test.js')
-rw-r--r--test/index.test.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/index.test.js b/test/index.test.js
index 897438c..a81dbb6 100644
--- a/test/index.test.js
+++ b/test/index.test.js
@@ -21,3 +21,11 @@ test('post', t => {
     .expect(/Lorem ipsum/)
     .then(() => t.pass())
 })
+
+test('tags', t => {
+  return request(app.listen())
+    .get('/tags/a')
+    .expect(200)
+    .expect(/This is a test/)
+    .then(() => t.pass())
+})