This commit is contained in:
rinsuki 2019-10-25 20:50:19 +09:00
parent 89a267eb22
commit 5dfead3da0
1 changed files with 1 additions and 3 deletions

View File

@ -49,13 +49,11 @@ describe('Chart', () => {
clock = lolex.install({ clock = lolex.install({
now: new Date('2000-01-01 00:00:00') now: new Date('2000-01-01 00:00:00')
}); });
connection.synchronize().then(done);
}); });
afterEach(done => { afterEach(done => {
clock.uninstall(); clock.uninstall();
connection.dropDatabase().then(done); connection.dropDatabase().then(() => connection.synchronize()).then(done);
}); });
it('Can updates', async(async () => { it('Can updates', async(async () => {