better regexp, fix offset issue in #4294

This commit is contained in:
Jörg Breitbart
2022-12-08 17:35:45 +01:00
parent 03dc1908a5
commit becec91e98
5 changed files with 31 additions and 15 deletions
@@ -14,7 +14,7 @@ import { MockCoreService, MockDecorationService, MockOptionsService } from 'comm
import { css } from 'common/Color';
import { MockCharacterJoinerService, MockCoreBrowserService, MockThemeService } from 'browser/TestUtils.test';
const EMPTY_ELEM_MAPPING = new Uint16Array(1000);
const EMPTY_ELEM_MAPPING = new Int16Array(1000);
describe('DomRendererRowFactory', () => {
let dom: jsdom.JSDOM;