mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: tests
This commit is contained in:
@@ -240,6 +240,7 @@ describe('Utility Methods', function () {
|
||||
});
|
||||
|
||||
it('should get empty object for url params', function (done) {
|
||||
global.document = window.document;
|
||||
var params = utils.params();
|
||||
assert.equal(Object.keys(params), 0);
|
||||
done();
|
||||
|
||||
Reference in New Issue
Block a user