@@ -17,12 +17,12 @@ describe('Plugin Kanban', () => {
1717
1818 describe ( 'kanban component' , ( ) => {
1919 it ( 'should be registered in ComponentRegistry' , ( ) => {
20- const kanbanRenderer = ComponentRegistry . get ( 'kanban' ) ;
20+ const kanbanRenderer = ComponentRegistry . get ( 'kanban-ui ' ) ;
2121 expect ( kanbanRenderer ) . toBeDefined ( ) ;
2222 } ) ;
2323
2424 it ( 'should have proper metadata' , ( ) => {
25- const config = ComponentRegistry . getConfig ( 'kanban' ) ;
25+ const config = ComponentRegistry . getConfig ( 'kanban-ui ' ) ;
2626 expect ( config ) . toBeDefined ( ) ;
2727 expect ( config ?. label ) . toBe ( 'Kanban Board' ) ;
2828 expect ( config ?. icon ) . toBe ( 'LayoutDashboard' ) ;
@@ -32,7 +32,7 @@ describe('Plugin Kanban', () => {
3232 } ) ;
3333
3434 it ( 'should have expected inputs' , ( ) => {
35- const config = ComponentRegistry . getConfig ( 'kanban' ) ;
35+ const config = ComponentRegistry . getConfig ( 'kanban-ui ' ) ;
3636 const inputNames = config ?. inputs ?. map ( ( input : any ) => input . name ) || [ ] ;
3737
3838 expect ( inputNames ) . toContain ( 'columns' ) ;
@@ -41,7 +41,7 @@ describe('Plugin Kanban', () => {
4141 } ) ;
4242
4343 it ( 'should have columns as required input' , ( ) => {
44- const config = ComponentRegistry . getConfig ( 'kanban' ) ;
44+ const config = ComponentRegistry . getConfig ( 'kanban-ui ' ) ;
4545 const columnsInput = config ?. inputs ?. find ( ( input : any ) => input . name === 'columns' ) ;
4646
4747 expect ( columnsInput ) . toBeDefined ( ) ;
@@ -51,7 +51,7 @@ describe('Plugin Kanban', () => {
5151 } ) ;
5252
5353 it ( 'should have onCardMove as code input' , ( ) => {
54- const config = ComponentRegistry . getConfig ( 'kanban' ) ;
54+ const config = ComponentRegistry . getConfig ( 'kanban-ui ' ) ;
5555 const onCardMoveInput = config ?. inputs ?. find ( ( input : any ) => input . name === 'onCardMove' ) ;
5656
5757 expect ( onCardMoveInput ) . toBeDefined ( ) ;
@@ -61,7 +61,7 @@ describe('Plugin Kanban', () => {
6161 } ) ;
6262
6363 it ( 'should have sensible default props' , ( ) => {
64- const config = ComponentRegistry . getConfig ( 'kanban' ) ;
64+ const config = ComponentRegistry . getConfig ( 'kanban-ui ' ) ;
6565 const defaults = config ?. defaultProps ;
6666
6767 expect ( defaults ) . toBeDefined ( ) ;
@@ -72,7 +72,7 @@ describe('Plugin Kanban', () => {
7272 } ) ;
7373
7474 it ( 'should have default columns with proper structure' , ( ) => {
75- const config = ComponentRegistry . getConfig ( 'kanban' ) ;
75+ const config = ComponentRegistry . getConfig ( 'kanban-ui ' ) ;
7676 const defaults = config ?. defaultProps ;
7777 const columns = defaults ?. columns || [ ] ;
7878
@@ -93,7 +93,7 @@ describe('Plugin Kanban', () => {
9393 } ) ;
9494
9595 it ( 'should have cards with proper structure' , ( ) => {
96- const config = ComponentRegistry . getConfig ( 'kanban' ) ;
96+ const config = ComponentRegistry . getConfig ( 'kanban-ui ' ) ;
9797 const defaults = config ?. defaultProps ;
9898 const columns = defaults ?. columns || [ ] ;
9999
0 commit comments