一回一回sync→dropしてるのをやめてみる
This commit is contained in:
parent
40bf3c28e6
commit
a9e543ba2e
|
@ -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 () => {
|
||||||
|
|
Loading…
Reference in New Issue