forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaaTesting.ts
More file actions
19 lines (15 loc) · 753 Bytes
/
aaTesting.ts
File metadata and controls
19 lines (15 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
'use strict';
import { inject, injectable } from 'inversify';
import { ValidateABTesting } from '../common/experimentGroups';
import { IExperimentsManager } from '../common/types';
import { IExtensionSingleActivationService } from './types';
@injectable()
export class AATesting implements IExtensionSingleActivationService {
constructor(@inject(IExperimentsManager) private experiments: IExperimentsManager) {}
public async activate(): Promise<void> {
this.experiments.sendTelemetryIfInExperiment(ValidateABTesting.experiment);
this.experiments.sendTelemetryIfInExperiment(ValidateABTesting.control);
}
}