@@ -393,15 +393,15 @@ export function accessControlTests(getCtx: () => AssetMockCtx): void {
393393 . withArgs ( unknownSigner . address , ATS_ROLES . DEFAULT_ADMIN_ROLE ) ;
394394 } ) ;
395395
396- it ( "GIVEN an already-initialised facet WHEN initializeAccessControl is called again THEN it reverts with FacetAlreadyRegistered" , async ( ) => {
396+ it . only ( "GIVEN an already-initialised facet WHEN initializeAccessControl is called again THEN it reverts with FacetAlreadyRegistered" , async ( ) => {
397397 await expect ( asset . initializeAccessControl ( ) )
398398 . to . be . revertedWithCustomError ( asset , "FacetAlreadyRegistered" )
399399 . withArgs ( RESOLVER_KEY_ACCESS_CONTROL , 1 ) ;
400400 } ) ;
401401 } ) ;
402402
403403 describe ( "initializeAccessControl event" , ( ) => {
404- it ( "GIVEN a fresh deployment WHEN initializeAccessControl is called THEN it emits AccessControlInitialized" , async ( ) => {
404+ it . only ( "GIVEN a fresh deployment WHEN initializeAccessControl is called THEN it emits AccessControlInitialized" , async ( ) => {
405405 await asset . forceFacetNotRegistered ( RESOLVER_KEY_ACCESS_CONTROL ) ;
406406 await expect ( asset . initializeAccessControl ( ) ) . to . emit ( asset , "AccessControlInitialized" ) ;
407407 } ) ;
@@ -412,25 +412,25 @@ export function accessControlTests(getCtx: () => AssetMockCtx): void {
412412 await asset . forceNonOperational ( ) ;
413413 } ) ;
414414
415- it ( "GIVEN non-operational WHEN grantRole is called THEN AssetNotOperational" , async ( ) => {
415+ it . only ( "GIVEN non-operational WHEN grantRole is called THEN AssetNotOperational" , async ( ) => {
416416 await expect ( asset . grantRole ( ATS_ROLES . DEFAULT_ADMIN_ROLE , unknownSigner . address ) )
417417 . to . be . revertedWithCustomError ( asset , "AssetNotOperational" )
418418 . withArgs ( ASSET_MOCK_CONFIG_ID , 1 ) ;
419419 } ) ;
420420
421- it ( "GIVEN non-operational WHEN revokeRole is called THEN AssetNotOperational" , async ( ) => {
421+ it . only ( "GIVEN non-operational WHEN revokeRole is called THEN AssetNotOperational" , async ( ) => {
422422 await expect ( asset . revokeRole ( ATS_ROLES . DEFAULT_ADMIN_ROLE , unknownSigner . address ) )
423423 . to . be . revertedWithCustomError ( asset , "AssetNotOperational" )
424424 . withArgs ( ASSET_MOCK_CONFIG_ID , 1 ) ;
425425 } ) ;
426426
427- it ( "GIVEN non-operational WHEN renounceRole is called THEN AssetNotOperational" , async ( ) => {
427+ it . only ( "GIVEN non-operational WHEN renounceRole is called THEN AssetNotOperational" , async ( ) => {
428428 await expect ( asset . renounceRole ( ATS_ROLES . DEFAULT_ADMIN_ROLE ) )
429429 . to . be . revertedWithCustomError ( asset , "AssetNotOperational" )
430430 . withArgs ( ASSET_MOCK_CONFIG_ID , 1 ) ;
431431 } ) ;
432432
433- it ( "GIVEN non-operational WHEN applyRoles is called THEN AssetNotOperational" , async ( ) => {
433+ it . only ( "GIVEN non-operational WHEN applyRoles is called THEN AssetNotOperational" , async ( ) => {
434434 await expect ( asset . applyRoles ( [ ] , [ ] , unknownSigner . address ) )
435435 . to . be . revertedWithCustomError ( asset , "AssetNotOperational" )
436436 . withArgs ( ASSET_MOCK_CONFIG_ID , 1 ) ;
0 commit comments