mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Remove the test referencing publicOptions
This commit is contained in:
@@ -15,11 +15,6 @@ describe('OptionsService', () => {
|
||||
afterEach(() => {
|
||||
console.error = originalError;
|
||||
});
|
||||
it('publicOptions and options are modifying the same object', () => {
|
||||
const optionsService = new OptionsService({ cols: undefined, rows: undefined });
|
||||
optionsService.options.rows = 25;
|
||||
assert.equal(optionsService.publicOptions.rows, 25);
|
||||
});
|
||||
it('uses default value if invalid constructor option values passed for cols/rows', () => {
|
||||
const optionsService = new OptionsService({ cols: undefined, rows: undefined });
|
||||
assert.equal(optionsService.getOption('rows'), DEFAULT_OPTIONS.rows);
|
||||
|
||||
Reference in New Issue
Block a user