一回一回sync→dropしてるのをやめてみる

This commit is contained in:
rinsuki 2019-10-25 18:45:16 +09:00
parent 40bf3c28e6
commit a9e543ba2e

View file

@ -37,10 +37,6 @@ describe('Chart', () => {
});
});
after(done => {
connection.close().then(done);
});
beforeEach(done => {
testChart = new TestChart();
testGroupedChart = new TestGroupedChart();
@ -49,13 +45,10 @@ describe('Chart', () => {
clock = lolex.install({
now: new Date('2000-01-01 00:00:00')
});
connection.synchronize().then(done);
});
afterEach(done => {
clock.uninstall();
connection.dropDatabase().then(done);
});
it('Can updates', async(async () => {