File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
_inc/client/components/settings-card/test Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ describe( 'SettingsCard', () => {
73
73
'photon'
74
74
] ,
75
75
allCardsForNonAdmin = [
76
- 'composing' ,
77
76
'post-by-email'
78
77
] ;
79
78
@@ -172,13 +171,13 @@ describe( 'SettingsCard', () => {
172
171
userCanManageModules : false
173
172
} ) ;
174
173
175
- it ( 'does not render cards that are not Composing or Post by Email' , ( ) => {
174
+ it ( 'does not render cards that are not Post by Email' , ( ) => {
176
175
allCardsNonAdminCantAccess . forEach ( item => {
177
176
expect ( shallow ( < SettingsCard { ...testProps } module = { item } > < p > Child</ p > </ SettingsCard > ) . find ( 'form' ) ) . to . have . length ( 0 ) ;
178
177
} ) ;
179
178
} ) ;
180
179
181
- it ( 'renders Composing and Post by Email cards' , ( ) => {
180
+ it ( 'renders Post by Email cards' , ( ) => {
182
181
allCardsForNonAdmin . forEach ( item => {
183
182
expect ( shallow ( < SettingsCard { ...testProps } module = { item } > < p > Child</ p > </ SettingsCard > ) . find ( 'form' ) ) . to . have . length ( 1 ) ;
184
183
} ) ;
You can’t perform that action at this time.
0 commit comments