fix
This commit is contained in:
parent
89a267eb22
commit
5dfead3da0
|
@ -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 () => {
|
||||||
|
|
Loading…
Reference in New Issue