From 1f2a6245ab1e503dee017ab617aaeda816ecb383 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 18 Jun 2017 14:12:25 +0200 Subject: feat: add tags endpoint --- test/index.test.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/index.test.js') 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()) +}) -- cgit 1.4.1