tests: responsiveness - 77 chars on 30000 lines

fix-responsivnesstest
webzwo0i 2020-08-28 05:42:29 +02:00
parent 4e2c31fee6
commit 1ef0de482d
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ describe('Responsiveness of Editor', function() {
// @todo also do this with 30k+ lines
it('Fast response to keypress in pad with large amount of contents', function(done) {
var inner$ = helper.padInner$;
var chars = '00000000000 00000000000000 000000000000 000000000000 00000000000\n'; // row of placeholder chars
var amount = 17000; //number of blocks of chars we will insert
var chars = '00000000000 00000000000 00000000000 00000000000 00000000000 00000000000 00000000000\n'; // row of placeholder chars
var amount = 30000; //number of blocks of chars we will insert
var length = (amount * (chars.length) +1); // include a counter for each space
var text = ''; // the text we're gonna insert
this.timeout(amount * 100);