revamp to mysql for gateway configuration and major code refactor

This commit is contained in:
Dave Horton committed 2019-12-13 10:20:27 -05:00
1 parent c22b6f9c08
commit 5a529b2bb9
23 files changed
+1152 -187

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
const test = require('tape').test ;
const exec = require('child_process').exec ;
const pwd = process.env.TRAVIS ? '' : '-p$MYSQL_ROOT_PASSWORD';
test('dropping jambones_test database', (t) => {
exec(`mysql -h localhost -u root ${pwd} < ${__dirname}/db/remove_test_db.sql`, (err, stdout, stderr) => {
if (err) return t.end(err);
t.pass('database successfully dropped');
t.end();
});
});