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

This commit is contained in:
rinsuki 2019-10-25 18:45:16 +09:00
parent 40bf3c28e6
commit a9e543ba2e
1 changed files with 0 additions and 7 deletions

View File

@ -37,10 +37,6 @@ describe('Chart', () => {
}); });
}); });
after(done => {
connection.close().then(done);
});
beforeEach(done => { beforeEach(done => {
testChart = new TestChart(); testChart = new TestChart();
testGroupedChart = new TestGroupedChart(); testGroupedChart = new TestGroupedChart();
@ -49,13 +45,10 @@ 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);
}); });
it('Can updates', async(async () => { it('Can updates', async(async () => {