mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-08 14:56:35 +02:00
Minor changes.
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user