File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
src/test/cloudWatchLogs/commands Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,7 @@ import * as vscode from 'vscode'
8
8
import { createURIFromArgs } from '../../../cloudWatchLogs/cloudWatchLogsUtils'
9
9
import { copyLogResource } from '../../../cloudWatchLogs/commands/copyLogResource'
10
10
11
- describe ( 'copyLogStreamName' , async function ( ) {
12
-
11
+ describe ( 'copyLogResource' , async function ( ) {
13
12
beforeEach ( async function ( ) {
14
13
await vscode . env . clipboard . writeText ( '' )
15
14
} )
@@ -20,21 +19,21 @@ describe('copyLogStreamName', async function () {
20
19
21
20
it ( 'copies stream names from valid URIs with stream open' , async function ( ) {
22
21
const logGroupWithStream = {
23
- groupName : 'group' ,
24
- regionName : 'region' ,
25
- streamName : 'stream'
22
+ groupName : 'group' ,
23
+ regionName : 'region' ,
24
+ streamName : 'stream' ,
26
25
}
27
26
const uri = createURIFromArgs ( logGroupWithStream , { } )
28
27
29
- await copyLogResource ( uri ) ;
28
+ await copyLogResource ( uri )
30
29
31
30
assert . strictEqual ( await vscode . env . clipboard . readText ( ) , logGroupWithStream . streamName )
32
31
} )
33
32
34
- it ( 'copies group names from valid URIs with group open' , async function ( ) {
33
+ it ( 'copies group names from valid URIs with group open' , async function ( ) {
35
34
const logGroup = {
36
35
groupName : 'group2' ,
37
- regionName : 'region2'
36
+ regionName : 'region2' ,
38
37
}
39
38
const uri = createURIFromArgs ( logGroup , { } )
40
39
You can’t perform that action at this time.
0 commit comments