mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-27 21:44:22 -04:00
Clean strings.
This commit is contained in:
parent
88854ad451
commit
41b199c578
7 changed files with 11 additions and 11 deletions
|
@ -110,14 +110,14 @@ describe('module \'' + ID + '\'', function () {
|
|||
assert.isTrue(this.xEvent.sub.calledTwice);
|
||||
});
|
||||
|
||||
it('subscribes to "location.changed"', function () {
|
||||
it('subscribes to location.changed', function () {
|
||||
|
||||
this.applyFn();
|
||||
assert.strictEqual(this.xEvent.sub.firstCall.args[0], 'location.changed');
|
||||
assert.isFunction(this.xEvent.sub.firstCall.args[1]);
|
||||
});
|
||||
|
||||
it('subscribes to "location.refreshed"', function () {
|
||||
it('subscribes to location.refreshed', function () {
|
||||
|
||||
this.applyFn();
|
||||
assert.strictEqual(this.xEvent.sub.secondCall.args[0], 'location.refreshed');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue