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
+2
View File
@@ -120,11 +120,13 @@ export class MockLogService implements ILogService {
export class MockOptionsService implements IOptionsService {
public serviceBrand: any;
public readonly rawOptions: ITerminalOptions = clone(DEFAULT_OPTIONS);
public options: ITerminalOptions = clone(DEFAULT_OPTIONS);
public onOptionChange: IEvent<string> = new EventEmitter<string>().event;
constructor(testOptions?: Partial<ITerminalOptions>) {
if (testOptions) {
for (const key of Object.keys(testOptions)) {
this.rawOptions = testOptions[key];
this.options[key] = testOptions[key];
}
}