@@ -46,9 +46,9 @@ describe('revokeTableOrViewAccess', () => {
4646 } ) ;
4747
4848 it ( 'should revoke access to a table for a specific role' , async ( ) => {
49- const principalId = `group: ${ entityId } ` ;
49+ const principalId = `group:${ entityId } ` ;
5050
51- // Grant access first
51+ // Grant access first.
5252 await grantAccessToTableOrView (
5353 projectId ,
5454 datasetId ,
@@ -57,10 +57,10 @@ describe('revokeTableOrViewAccess', () => {
5757 roleId
5858 ) ;
5959
60- // Reset console log history
60+ // Reset console log history.
6161 console . log . resetHistory ( ) ;
6262
63- // Revoke access for the role
63+ // Revoke access for the role.
6464 await revokeAccessToTableOrView (
6565 projectId ,
6666 datasetId ,
@@ -69,7 +69,7 @@ describe('revokeTableOrViewAccess', () => {
6969 null
7070 ) ;
7171
72- // Check that the right message was logged
72+ // Check that the right message was logged.
7373 assert . strictEqual (
7474 console . log . calledWith (
7575 `Role '${ roleId } ' revoked for all principals on resource '${ datasetId } .${ tableId } '.`
@@ -79,9 +79,9 @@ describe('revokeTableOrViewAccess', () => {
7979 } ) ;
8080
8181 it ( 'should revoke access to a table for a specific principal' , async ( ) => {
82- const principalId = `group: ${ entityId } ` ;
82+ const principalId = `group:${ entityId } ` ;
8383
84- // Grant access first
84+ // Grant access first.
8585 await grantAccessToTableOrView (
8686 projectId ,
8787 datasetId ,
@@ -90,10 +90,10 @@ describe('revokeTableOrViewAccess', () => {
9090 roleId
9191 ) ;
9292
93- // Reset console log history
93+ // Reset console log history.
9494 console . log . resetHistory ( ) ;
9595
96- // Revoke access for the principal
96+ // Revoke access for the principal.
9797 await revokeAccessToTableOrView (
9898 projectId ,
9999 datasetId ,
@@ -102,7 +102,7 @@ describe('revokeTableOrViewAccess', () => {
102102 principalId
103103 ) ;
104104
105- // Check that the right message was logged
105+ // Check that the right message was logged.
106106 assert . strictEqual (
107107 console . log . calledWith (
108108 `Access revoked for principal '${ principalId } ' on resource '${ datasetId } .${ tableId } '.`
0 commit comments