mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-02 00:08:19 -04:00
Refactor code.
This commit is contained in:
parent
7503d79c06
commit
1d7457a4a2
3 changed files with 49 additions and 54 deletions
|
@ -111,10 +111,10 @@ describe('view', function () {
|
|||
assert.lengthOf($('#toolbar > #sidebar-toggle'), 1);
|
||||
});
|
||||
|
||||
it('adds HTML #settings-viewmode to #sidebar', function () {
|
||||
it('adds HTML #viewmode-settings to #sidebar', function () {
|
||||
|
||||
modulejs.require('view/viewmode');
|
||||
assert.lengthOf($('#sidebar > #settings-viewmode'), 1);
|
||||
assert.lengthOf($('#sidebar > #viewmode-settings'), 1);
|
||||
});
|
||||
|
||||
it('adds style to head', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue