File tree 1 file changed +6
-8
lines changed
container-analysis/snippets/test
1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -282,11 +282,11 @@ describe('polling', () => {
282
282
} ) ;
283
283
284
284
after ( async ( ) => {
285
- const [
286
- discoveryOccurrences ,
287
- ] = await client . getGrafeasClient ( ) . listNoteOccurrences ( {
288
- name : `${ formattedNoteName } -discovery-polling` ,
289
- } ) ;
285
+ const [ discoveryOccurrences ] = await client
286
+ . getGrafeasClient ( )
287
+ . listNoteOccurrences ( {
288
+ name : `${ formattedNoteName } -discovery-polling` ,
289
+ } ) ;
290
290
discoveryOccurrences . forEach ( async occurrence => {
291
291
await client . getGrafeasClient ( ) . deleteOccurrence ( { name : occurrence . name } ) ;
292
292
} ) ;
@@ -386,9 +386,7 @@ describe('pubsub', () => {
386
386
387
387
// create test occurrences
388
388
for ( let i = 0 ; i < occurrenceCount ; i ++ ) {
389
- const [
390
- pubSubOccurrence ,
391
- ] = await client
389
+ const [ pubSubOccurrence ] = await client
392
390
. getGrafeasClient ( )
393
391
. createOccurrence ( pubSubOccurrenceReq ) ;
394
392
await client
You can’t perform that action at this time.
0 commit comments