mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 13:34:30 -04:00
Remove version from settings.
This commit is contained in:
parent
95f087cfd6
commit
17b5d4dfaa
7 changed files with 28 additions and 31 deletions
|
@ -18,8 +18,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
},
|
||||
setup: {
|
||||
PUBLIC_HREF: util.uniqId(),
|
||||
ROOT_HREF: util.uniqId(),
|
||||
VERSION: util.uniqId()
|
||||
ROOT_HREF: util.uniqId()
|
||||
}
|
||||
};
|
||||
this.applyFn = function () {
|
||||
|
@ -79,7 +78,7 @@ describe('module \'' + ID + '\'', function () {
|
|||
assert.strictEqual(instance.someOptions, this.xConfig.options.someOptions);
|
||||
assert.strictEqual(instance.otherOptions, this.xConfig.options.otherOptions);
|
||||
assert.strictEqual(instance.more, this.xConfig.options.more);
|
||||
assert.strictEqual(_.keys(instance).length, _.keys(this.xConfig.options).length + 3);
|
||||
assert.strictEqual(_.keys(instance).length, _.keys(this.xConfig.options).length + 2);
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -100,15 +99,6 @@ describe('module \'' + ID + '\'', function () {
|
|||
assert.strictEqual(instance.rootHref, this.xConfig.setup.ROOT_HREF);
|
||||
});
|
||||
});
|
||||
|
||||
describe('.version', function () {
|
||||
|
||||
it('set correct', function () {
|
||||
|
||||
var instance = this.applyFn();
|
||||
assert.strictEqual(instance.version, this.xConfig.setup.VERSION);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
}());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue