You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
Fix timelinepanel test timeout
The previous fix was adjusting the wrong timeout: it's hitting browserNoActivityTimeout, so revert previous fix & do this instead
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user