Skip to content

Commit

Permalink
Test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
elena-shostak committed Jan 6, 2025
1 parent 775fe29 commit c6b979a
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,16 +274,16 @@ describe('PrivilegeSummaryTable', () => {
hasCustomizedSubFeaturePrivileges: false,
primaryFeaturePrivilege: 'All',
...maybeExpectSubFeaturePrivileges(allowSubFeaturePrivileges, {
'Require all spaces Sub Feature': [],
'Require all spaces Sub Feature': ['Cool toggle 1'],
}),
},
},
with_require_all_spaces_for_feature_and_sub_features: {
'*': {
hasCustomizedSubFeaturePrivileges: false,
primaryFeaturePrivilege: 'None',
primaryFeaturePrivilege: 'All',
...maybeExpectSubFeaturePrivileges(allowSubFeaturePrivileges, {
'Require all spaces Sub Feature': [],
'Require all spaces Sub Feature': ['Cool toggle 1'],
}),
},
},
Expand Down Expand Up @@ -354,16 +354,16 @@ describe('PrivilegeSummaryTable', () => {
hasCustomizedSubFeaturePrivileges: false,
primaryFeaturePrivilege: 'All',
...maybeExpectSubFeaturePrivileges(allowSubFeaturePrivileges, {
'Require all spaces Sub Feature': [],
'Require all spaces Sub Feature': ['Cool toggle 1'],
}),
},
},
with_require_all_spaces_for_feature_and_sub_features: {
'*': {
hasCustomizedSubFeaturePrivileges: false,
primaryFeaturePrivilege: 'None',
primaryFeaturePrivilege: 'All',
...maybeExpectSubFeaturePrivileges(allowSubFeaturePrivileges, {
'Require all spaces Sub Feature': [],
'Require all spaces Sub Feature': ['Cool toggle 1'],
}),
},
},
Expand Down Expand Up @@ -620,7 +620,7 @@ describe('PrivilegeSummaryTable', () => {
hasCustomizedSubFeaturePrivileges: false,
primaryFeaturePrivilege: 'Read',
...maybeExpectSubFeaturePrivileges(allowSubFeaturePrivileges, {
'Require all spaces Sub Feature': [],
'Require all spaces Sub Feature': ['Cool toggle 1'],
}),
},
'default, space-1': {
Expand Down Expand Up @@ -744,7 +744,7 @@ describe('PrivilegeSummaryTable', () => {
hasCustomizedSubFeaturePrivileges: false,
primaryFeaturePrivilege: 'Read',
...maybeExpectSubFeaturePrivileges(allowSubFeaturePrivileges, {
'Require all spaces Sub Feature': [],
'Require all spaces Sub Feature': ['Cool toggle 1'],
}),
},
'default, space-1': {
Expand Down Expand Up @@ -1133,7 +1133,7 @@ describe('PrivilegeSummaryTable', () => {
hasCustomizedSubFeaturePrivileges: false,
primaryFeaturePrivilege: 'All',
...maybeExpectSubFeaturePrivileges(allowSubFeaturePrivileges, {
'Require all spaces Sub Feature': ['Cool toggle 1'],
'Require all spaces Sub Feature': [],
}),
},
},
Expand All @@ -1147,9 +1147,9 @@ describe('PrivilegeSummaryTable', () => {
},
'default, space-1': {
hasCustomizedSubFeaturePrivileges: false,
primaryFeaturePrivilege: 'All',
primaryFeaturePrivilege: 'None',
...maybeExpectSubFeaturePrivileges(allowSubFeaturePrivileges, {
'Require all spaces Sub Feature': ['Cool toggle 1'],
'Require all spaces Sub Feature': [],
}),
},
},
Expand Down Expand Up @@ -1283,7 +1283,7 @@ describe('PrivilegeSummaryTable', () => {
hasCustomizedSubFeaturePrivileges: false,
primaryFeaturePrivilege: 'Read',
...maybeExpectSubFeaturePrivileges(allowSubFeaturePrivileges, {
'Require all spaces Sub Feature': [],
'Require all spaces Sub Feature': ['Cool toggle 1'],
}),
},
default: {
Expand Down

0 comments on commit c6b979a

Please sign in to comment.