Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mvoorberg committed Mar 30, 2019
1 parent bfd7396 commit 062b829
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions test/generate.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,20 @@ describe(helpers.getTestDialectTeaser('sequelize-auto'), function() {
};

describe('should be able to generate', function() {
it('the model files...', function(done) {
const self = this;
const db = self.sequelize.config.database;
const testTables = ['Users', 'HistoryLogs', 'ParanoidUsers'];

try {
it('the model files.', function(done) {
try {
const self = this;
const db = self.sequelize.config.database;
const testTables = ['Users', 'HistoryLogs', 'ParanoidUsers'];

setupModels(self, function(err, stdout, stderr) {
expect(err).to.be.null;

console.log('------------');
console.log('Error::', err);
console.log('stdout::', stdout);
console.log('------------');

if (stderr) {
console.log(stderr);
}
Expand Down

0 comments on commit 062b829

Please sign in to comment.