不要怂,就是干,撸起袖子干!

Commit 01113d4f by Mick Hansen

remove console.log

1 parent 68acb801
Showing with 8 additions and 12 deletions
...@@ -108,8 +108,6 @@ describe(Support.getTestDialectTeaser("Model"), function () { ...@@ -108,8 +108,6 @@ describe(Support.getTestDialectTeaser("Model"), function () {
}); });
}).then(function (user) { }).then(function (user) {
expect(user.get('name')).to.equal('Barfoo'); expect(user.get('name')).to.equal('Barfoo');
}).on('sql', function (sql) {
console.log(sql);
}); });
}); });
...@@ -133,8 +131,6 @@ describe(Support.getTestDialectTeaser("Model"), function () { ...@@ -133,8 +131,6 @@ describe(Support.getTestDialectTeaser("Model"), function () {
expect(user.get('name')).to.be.ok; expect(user.get('name')).to.be.ok;
expect(user.get('tasks')[0].get('title')).to.equal('DoDat'); expect(user.get('tasks')[0].get('title')).to.equal('DoDat');
}); });
}).on('sql', function (sql) {
console.log(sql);
}); });
}); });
...@@ -150,7 +146,7 @@ describe(Support.getTestDialectTeaser("Model"), function () { ...@@ -150,7 +146,7 @@ describe(Support.getTestDialectTeaser("Model"), function () {
} }
}); });
}).then(function (user) { }).then(function (user) {
expect(user).to.be.ok expect(user).to.be.ok;
}); });
}); });
...@@ -166,17 +162,17 @@ describe(Support.getTestDialectTeaser("Model"), function () { ...@@ -166,17 +162,17 @@ describe(Support.getTestDialectTeaser("Model"), function () {
return self.User.findAll(); return self.User.findAll();
}).then(function (users) { }).then(function (users) {
users.forEach(function (user) { users.forEach(function (user) {
expect(['Abc', 'Bcd', 'Cde'].indexOf(user.get('name')) !== -1).to.be.true expect(['Abc', 'Bcd', 'Cde'].indexOf(user.get('name')) !== -1).to.be.true;
}); });
}); });
}); });
}) });
describe('types', function () { describe('types', function () {
describe('VIRTUAL', function () { describe('VIRTUAL', function () {
it('should be ignored in create, updateAttributes and find'); it('should be ignored in create, updateAttributes and find');
it('should be ignored in bulkCreate and findAll'); it('should be ignored in bulkCreate and findAll');
}) });
}) });
}) });
}) });
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!