Psst. Removed console logs from debug hunt.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user