fix
This commit is contained in:
parent
a7b021ca88
commit
5a89ec9050
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue