From bac4eba35e2df9e168cca49d94a724e83ae9d5b5 Mon Sep 17 00:00:00 2001 From: Simon Lamon Date: Tue, 21 Dec 2021 19:41:56 +0000 Subject: [PATCH] Remove the test referencing publicOptions --- src/common/services/OptionsService.test.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/common/services/OptionsService.test.ts b/src/common/services/OptionsService.test.ts index 3bbc876d..e140b5b4 100644 --- a/src/common/services/OptionsService.test.ts +++ b/src/common/services/OptionsService.test.ts @@ -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);