mirror of https://github.com/vector-im/riot-web
Fix timelinepanel test timeout
The previous fix was adjusting the wrong timeout: it's hitting browserNoActivityTimeout, so revert previous fix & do this insteadpull/21833/head
parent
63ad57a8d4
commit
a2b64798f7
|
@ -171,5 +171,6 @@ module.exports = function (config) {
|
|||
},
|
||||
devtool: 'inline-source-map',
|
||||
},
|
||||
browserNoActivityTimeout: 15000,
|
||||
});
|
||||
};
|
||||
|
|
|
@ -210,7 +210,7 @@ describe('TimelinePanel', function() {
|
|||
var N_EVENTS = 600;
|
||||
|
||||
// sadly, loading all those events takes a while
|
||||
this.timeout(N_EVENTS * 40);
|
||||
this.timeout(N_EVENTS * 20);
|
||||
|
||||
// client.getRoom is called a /lot/ in this test, so replace
|
||||
// sinon's spy with a fast noop.
|
||||
|
|
Loading…
Reference in New Issue