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

Commit 87f1c86f by Mick Hansen

chore: remove tests no longer needed

1 parent 78e86efc
Showing with 0 additions and 16 deletions
...@@ -887,22 +887,6 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () { ...@@ -887,22 +887,6 @@ describe(Support.getTestDialectTeaser("Sequelize"), function () {
}) })
}) })
it('throws an error if a function was passed as the first argument', function() {
var self = this
expect(function() {
self.sequelizeWithTransaction.transaction(function() {})
}).to.throw('DEPRECATION WARNING: This function no longer accepts callbacks. Use sequelize.transaction().then(function (t) {}) instead.')
});
it('throws an error if a function was passed as the second argument', function() {
var self = this
expect(function() {
self.sequelizeWithTransaction.transaction(null, function() {})
}).to.throw('DEPRECATION WARNING: This function no longer accepts callbacks. Use sequelize.transaction().then(function (t) {}) instead.')
});
it('allows me to define a callback on the result', function(done) { it('allows me to define a callback on the result', function(done) {
this this
.sequelizeWithTransaction .sequelizeWithTransaction
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!