Testing #72

Merged
KevinMidboe merged 23 commits from testing into master 2018-01-09 15:56:45 +00:00
Showing only changes of commit d92e6d8c78 - Show all commits

View File

@@ -75,7 +75,6 @@ class SqliteDatabase {
*/ */
tearDown() { tearDown() {
const tearDownSchema = this.readSqlFile('tearDown.sql'); const tearDownSchema = this.readSqlFile('tearDown.sql');
console.log(tearDownSchema);
return this.execute(tearDownSchema); return this.execute(tearDownSchema);
} }
@@ -84,11 +83,8 @@ class SqliteDatabase {
* @returns {String} * @returns {String}
*/ */
readSqlFile(filename) { readSqlFile(filename) {
console.log(filename)
const schemaPath = path.join(this.schemaDirectory, filename); const schemaPath = path.join(this.schemaDirectory, filename);
console.log(schemaPath)
const schema = fs.readFileSync(schemaPath).toString('utf-8'); const schema = fs.readFileSync(schemaPath).toString('utf-8');
console.log('schema: ', schema)
return schema; return schema;
} }
} }