fix
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user