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 580c0655
authored
Mar 29, 2019
by
Gabe Gorelick
Committed by
Sushant
Mar 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: typos in model test names (#10659)
1 parent
46e0f685
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
test/integration/model.test.js
test/integration/model.test.js
View file @
580c065
...
...
@@ -47,7 +47,7 @@ describe(Support.getTestDialectTeaser('Model'), () => {
expect
(
User
.
tableName
).
to
.
equal
(
'SuperUsers'
);
});
it
(
'uses checks to make sure dao factory is
n
t leaking on multiple define'
,
function
()
{
it
(
'uses checks to make sure dao factory is
no
t leaking on multiple define'
,
function
()
{
this
.
sequelize
.
define
(
'SuperUser'
,
{},
{
freezeTableName
:
false
});
const
factorySize
=
this
.
sequelize
.
modelManager
.
all
.
length
;
...
...
@@ -57,7 +57,7 @@ describe(Support.getTestDialectTeaser('Model'), () => {
expect
(
factorySize
).
to
.
equal
(
factorySize2
);
});
it
(
'allows us
us
to predefine the ID column with our own specs'
,
function
()
{
it
(
'allows us to predefine the ID column with our own specs'
,
function
()
{
const
User
=
this
.
sequelize
.
define
(
'UserCol'
,
{
id
:
{
type
:
Sequelize
.
STRING
,
...
...
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