Tweak mysql test setup
This commit is contained in:
parent
a8d7daf02a
commit
2a4fedf03c
@ -17,13 +17,7 @@ let nodeQuery = reload('../../lib/NodeQuery')(config);
|
||||
let qb = nodeQuery.getQuery();
|
||||
|
||||
suite('Mysql2 adapter tests -', () => {
|
||||
suiteSetup(done => {
|
||||
qb.truncate('create_join').then(() => {
|
||||
qb.truncate('create_test').then(() => {
|
||||
done();
|
||||
});
|
||||
});
|
||||
});
|
||||
suiteSetup(done => qb.truncate('create_test').then(() => done()));
|
||||
|
||||
test('nodeQuery.getQuery = nodeQuery.init', () => {
|
||||
expect(nodeQuery.getQuery())
|
||||
|
Loading…
Reference in New Issue
Block a user