remove proxy

This commit is contained in:
Simon Lamon
2021-12-25 14:02:09 +00:00
parent bac4eba35e
commit 65182176b9
6 changed files with 58 additions and 32 deletions
@@ -28,6 +28,10 @@ describe('OptionsService', () => {
it('uses default value if invalid constructor option value passed', () => {
assert.equal(new OptionsService({ tabStopWidth: 0 }).getOption('tabStopWidth'), DEFAULT_OPTIONS.tabStopWidth);
});
it('object.keys return the correct number of options', () => {
const optionsService = new OptionsService({ cols: 80, rows: 25 });
assert.notEqual(Object.keys(optionsService.options).length, 0);
});
});
describe('setOption', () => {
let service: OptionsService;