From 13389bdea121413ea7af966f14862614087c5998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?syuilo=E2=AD=90=EF=B8=8F?= Date: Tue, 14 Feb 2017 04:00:34 +0900 Subject: [PATCH] [Test] Fix: Drop some db collections --- test/api.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/api.js b/test/api.js index 79f4ea280..c55fae716 100644 --- a/test/api.js +++ b/test/api.js @@ -41,7 +41,12 @@ describe('API', () => { // Reset database each test beforeEach(() => Promise.all([ db.get('users').drop(), - db.get('posts').drop() + db.get('posts').drop(), + db.get('drive_files').drop(), + db.get('drive_folders').drop(), + db.get('apps').drop(), + db.get('access_tokens').drop(), + db.get('auth_sessions').drop() ])); afterEach(cb => setTimeout(cb, 100));