mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-24 20:14:37 -04:00
Update tests.
This commit is contained in:
parent
18a62ca831
commit
787eae7a80
22 changed files with 113 additions and 161 deletions
|
@ -242,7 +242,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
|
||||
var $el = $('<a/>');
|
||||
var item = {
|
||||
absHref: util.uniqId(),
|
||||
absHref: uniq.id(),
|
||||
isManaged: false,
|
||||
isFolder: sinon.stub().returns(false)
|
||||
};
|
||||
|
@ -259,7 +259,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
|
||||
var $el = $('<a/>');
|
||||
var item = {
|
||||
absHref: util.uniqId(),
|
||||
absHref: uniq.id(),
|
||||
isManaged: false,
|
||||
isFolder: sinon.stub().returns(true)
|
||||
};
|
||||
|
@ -276,7 +276,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
|
||||
var $el = $('<a/>');
|
||||
var item = {
|
||||
absHref: util.uniqId(),
|
||||
absHref: uniq.id(),
|
||||
isManaged: true,
|
||||
isFolder: sinon.stub().returns(true)
|
||||
};
|
||||
|
@ -293,7 +293,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
|
||||
var $el = $('<a/>');
|
||||
var item = {
|
||||
absHref: util.uniqId(),
|
||||
absHref: uniq.id(),
|
||||
isManaged: true,
|
||||
isFolder: sinon.stub().returns(true)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue