summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-01-19 08:57:42 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-01-19 08:57:42 +0900
commitbdcc0f4839cdb3a2753eadda8db9e12a3c11bfeb (patch)
tree000c1a347f5eebc24412747cf5b594ac84bdb51e /test
parent:v: (diff)
downloadmisskey-bdcc0f4839cdb3a2753eadda8db9e12a3c11bfeb.tar.gz
misskey-bdcc0f4839cdb3a2753eadda8db9e12a3c11bfeb.tar.bz2
misskey-bdcc0f4839cdb3a2753eadda8db9e12a3c11bfeb.zip
Diffstat (limited to 'test')
-rw-r--r--test/api.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/api.js b/test/api.js
index 5b7c95e9a8..81903d2973 100644
--- a/test/api.js
+++ b/test/api.js
@@ -41,6 +41,8 @@ describe('API', () => {
db.get('posts').drop()
]));
+ afterEach(cb => setTimeout(cb, 10));
+
it('greet server', done => {
chai.request(server)
.get('/')