@@ -11,7 +11,7 @@ import { Ec2Client } from '../../../shared/clients/ec2Client'
1111import { Ec2Connecter } from '../../../awsService/ec2/model'
1212import { PollingSet } from '../../../shared/utilities/pollingSet'
1313
14- describe ( 'ec2 telemetry ' , function ( ) {
14+ describe ( 'ec2 activation ' , function ( ) {
1515 let testNode : Ec2InstanceNode
1616
1717 before ( function ( ) {
@@ -31,39 +31,39 @@ describe('ec2 telemetry', function () {
3131 after ( function ( ) {
3232 sinon . restore ( )
3333 } )
34- it ( 'emits correct telemetry on terminal open' , async function ( ) {
34+ it ( 'terminal open' , async function ( ) {
3535 const terminalStub = sinon . stub ( Ec2Connecter . prototype , 'attemptToOpenEc2Terminal' )
3636 await vscode . commands . executeCommand ( 'aws.ec2.openTerminal' , testNode )
3737
3838 assertTelemetry ( 'ec2_connectToInstance' , { ec2ConnectionType : 'ssm' } )
3939 terminalStub . restore ( )
4040 } )
4141
42- it ( 'emits correct telemetry on remote window open' , async function ( ) {
42+ it ( 'remote window open' , async function ( ) {
4343 const remoteWindowStub = sinon . stub ( Ec2Connecter . prototype , 'tryOpenRemoteConnection' )
4444 await vscode . commands . executeCommand ( 'aws.ec2.openRemoteConnection' , testNode )
4545
4646 assertTelemetry ( 'ec2_connectToInstance' , { ec2ConnectionType : 'remoteWorkspace' } )
4747 remoteWindowStub . restore ( )
4848 } )
4949
50- it ( 'emits correct telemetry on state stop' , async function ( ) {
50+ it ( 'state stop' , async function ( ) {
5151 const stopInstanceStub = sinon . stub ( Ec2Client . prototype , 'stopInstanceWithCancel' )
5252 await vscode . commands . executeCommand ( 'aws.ec2.stopInstance' , testNode )
5353
5454 assertTelemetry ( 'ec2_changeState' , { ec2InstanceState : 'stop' } )
5555 stopInstanceStub . restore ( )
5656 } )
5757
58- it ( 'emits correct telemetry on state start' , async function ( ) {
58+ it ( 'state start' , async function ( ) {
5959 const startInstanceStub = sinon . stub ( Ec2Client . prototype , 'startInstance' )
6060 await vscode . commands . executeCommand ( 'aws.ec2.startInstance' , testNode )
6161
6262 assertTelemetry ( 'ec2_changeState' , { ec2InstanceState : 'start' } )
6363 startInstanceStub . restore ( )
6464 } )
6565
66- it ( 'emits correct telemetry on state reboot' , async function ( ) {
66+ it ( 'state reboot' , async function ( ) {
6767 const rebootInstanceStub = sinon . stub ( Ec2Client . prototype , 'rebootInstance' )
6868 await vscode . commands . executeCommand ( 'aws.ec2.rebootInstance' , testNode )
6969
0 commit comments