This commit is contained in:
rinsuki 2019-10-25 22:15:18 +09:00
parent a7b021ca88
commit 5a89ec9050
1 changed files with 4 additions and 3 deletions

View File

@ -48,10 +48,11 @@ describe('Chart', () => {
done(); done();
}); });
afterEach(done => { afterEach(async(async () => {
clock.uninstall(); clock.uninstall();
connection.dropDatabase().then(() => connection.synchronize()).then(done); await connection.dropDatabase();
}); await connection.synchronize();
}));
it('Can updates', async(async () => { it('Can updates', async(async () => {
await testChart.increment(); await testChart.increment();