mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-24 20:14:37 -04:00
Minor changes.
This commit is contained in:
parent
2365c23af7
commit
f7e3f4da79
2 changed files with 3 additions and 3 deletions
|
@ -87,7 +87,7 @@ describe('module \'' + ID + '\'', function () {
|
||||||
assert.lengthOfKeys(instance, 1);
|
assert.lengthOfKeys(instance, 1);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('adds HTML #sidebar-toggle', function () {
|
it('adds HTML #sidebar-toggle to #toolbar', function () {
|
||||||
|
|
||||||
this.applyFn();
|
this.applyFn();
|
||||||
assert.lengthOf($('#toolbar > #sidebar-toggle'), 1);
|
assert.lengthOf($('#toolbar > #sidebar-toggle'), 1);
|
||||||
|
|
|
@ -86,13 +86,13 @@ describe('module \'' + ID + '\'', function () {
|
||||||
assert.isUndefined(instance);
|
assert.isUndefined(instance);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('adds HTML to #sidebar', function () {
|
it('adds HTML .block to #sidebar', function () {
|
||||||
|
|
||||||
this.applyFn();
|
this.applyFn();
|
||||||
assert.lengthOf($('#sidebar > .block > .l10n-view'), 1);
|
assert.lengthOf($('#sidebar > .block > .l10n-view'), 1);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('adds Style to head', function () {
|
it('adds style to head', function () {
|
||||||
|
|
||||||
var styleTagCount = $('head > style').length;
|
var styleTagCount = $('head > style').length;
|
||||||
this.applyFn();
|
this.applyFn();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue