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();
|
let qb = nodeQuery.getQuery();
|
||||||
|
|
||||||
suite('Mysql2 adapter tests -', () => {
|
suite('Mysql2 adapter tests -', () => {
|
||||||
suiteSetup(done => {
|
suiteSetup(done => qb.truncate('create_test').then(() => done()));
|
||||||
qb.truncate('create_join').then(() => {
|
|
||||||
qb.truncate('create_test').then(() => {
|
|
||||||
done();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
test('nodeQuery.getQuery = nodeQuery.init', () => {
|
test('nodeQuery.getQuery = nodeQuery.init', () => {
|
||||||
expect(nodeQuery.getQuery())
|
expect(nodeQuery.getQuery())
|
||||||
|
Loading…
Reference in New Issue
Block a user