@@ -36,17 +36,17 @@ describe('Client with Notifications', async () => {
36
36
before ( async ( ) => {
37
37
const client = new SecurityCenterClient ( ) ;
38
38
async function createNotificationConfig ( configId ) {
39
- try {
40
- /*eslint no-unused-vars: ["error", { "varsIgnorePattern": "^_" }]*/
41
- const [ _response ] = await client . createNotificationConfig ( {
42
- parent : orgName ,
43
- configId : configId ,
44
- notificationConfig : {
45
- description : 'Sample config for node.js' ,
46
- pubsubTopic : pubsubTopic ,
47
- streamingConfig : { filter : 'state = "ACTIVE"' } ,
48
- } ,
49
- } ) ;
39
+ try {
40
+ /*eslint no-unused-vars: ["error", { "varsIgnorePattern": "^_" }]*/
41
+ const [ _response ] = await client . createNotificationConfig ( {
42
+ parent : orgName ,
43
+ configId : configId ,
44
+ notificationConfig : {
45
+ description : 'Sample config for node.js' ,
46
+ pubsubTopic : pubsubTopic ,
47
+ streamingConfig : { filter : 'state = "ACTIVE"' } ,
48
+ } ,
49
+ } ) ;
50
50
} catch ( err ) {
51
51
console . error ( `Error creating config ${ configId } :` , err . message ) ;
52
52
}
@@ -69,7 +69,7 @@ describe('Client with Notifications', async () => {
69
69
organizationId ,
70
70
configId
71
71
) ;
72
- await client . deleteNotificationConfig ( { name : name } ) ;
72
+ await client . deleteNotificationConfig ( { name : name } ) ;
73
73
} catch ( err ) {
74
74
console . error ( `Error deleting config ${ configId } :` , err . message ) ;
75
75
}
0 commit comments