@@ -36,17 +36,17 @@ describe('Client with Notifications', async () => {
3636 before ( async ( ) => {
3737 const client = new SecurityCenterClient ( ) ;
3838 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+ } ) ;
5050 } catch ( err ) {
5151 console . error ( `Error creating config ${ configId } :` , err . message ) ;
5252 }
@@ -69,7 +69,7 @@ describe('Client with Notifications', async () => {
6969 organizationId ,
7070 configId
7171 ) ;
72- await client . deleteNotificationConfig ( { name : name } ) ;
72+ await client . deleteNotificationConfig ( { name : name } ) ;
7373 } catch ( err ) {
7474 console . error ( `Error deleting config ${ configId } :` , err . message ) ;
7575 }
0 commit comments