mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Fix tests
This commit is contained in:
parent
d9a7d50a03
commit
da03af6c1c
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ module.exports.stubClient = function() {
|
|||
// 'sandbox.restore()' doesn't work correctly on inherited methods,
|
||||
// so we do this for each method
|
||||
var methods = ['get', 'unset', 'replaceUsingUrls',
|
||||
'replaceUsingAccessToken'];
|
||||
'replaceUsingCreds'];
|
||||
for (var i = 0; i < methods.length; i++) {
|
||||
sandbox.stub(peg, methods[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue