File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
test/lexical/collections/Lexical Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1454,6 +1454,8 @@ describe('lexicalMain', () => {
1454
1454
1455
1455
await expect ( lexicalWithBlocks . locator ( '.lexical-blocks-custom-description' ) ) . toHaveCount ( 1 )
1456
1456
await expect ( lexicalWithBlocks . locator ( '.lexical-blocks-custom-description' ) ) . toBeVisible ( )
1457
+
1458
+ await expect ( lexicalWithBlocks . locator ( '.field-description' ) ) . toHaveCount ( 0 )
1457
1459
} )
1458
1460
1459
1461
test ( 'ensure admin.description property is rendered' , async ( ) => {
Original file line number Diff line number Diff line change @@ -354,6 +354,7 @@ export const getLexicalFieldsCollection: (args: {
354
354
components : {
355
355
Description : '/collections/Lexical/components/Description.js#Description' ,
356
356
} ,
357
+ description : 'Should not be rendered' ,
357
358
} ,
358
359
editor : lexicalEditor ( {
359
360
admin : {
You can’t perform that action at this time.
0 commit comments