mirror of
https://example.com
synced 2024-11-24 07:26:39 +09:00
[Test] Fix: Drop some db collections
This commit is contained in:
parent
8511b5408c
commit
7e03d3ca9d
1 changed files with 6 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue