Skip to content

Commit 8132d5b

Browse files
vijaykanthmiennae
authored andcommitted
fix lint issue
1 parent d85da78 commit 8132d5b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

security-center/snippets/system-test/v1/notifications.test.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)