Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 87f1c86f
authored
Sep 20, 2014
by
Mick Hansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: remove tests no longer needed
1 parent
78e86efc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
test/sequelize.test.js
test/sequelize.test.js
View file @
87f1c86
...
@@ -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
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment