File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ describe('SidebarItemBadges', () => {
5454 it ( 'should render InvitationBadge when subscription has status INVITED' , ( ) => {
5555 render (
5656 < SidebarItemBadges
57- room = { createRoomWithSubscription ( {
57+ room = { createFakeSubscription ( {
5858 status : 'INVITED' ,
5959 inviter : { name : 'Rocket Cat' , username : 'rocket.cat' , _id : 'rocket.cat' } ,
6060 ts : new Date ( '2025-01-01T00:00:00.000Z' ) ,
@@ -69,7 +69,7 @@ describe('SidebarItemBadges', () => {
6969 } ) ;
7070
7171 it ( 'should not render InvitationBadge when subscription does not have status INVITED' , ( ) => {
72- render ( < SidebarItemBadges room = { createRoomWithSubscription ( ) } /> , { wrapper : appRoot } ) ;
72+ render ( < SidebarItemBadges room = { createFakeSubscription ( ) } /> , { wrapper : appRoot } ) ;
7373
7474 expect ( screen . queryByRole ( 'status' , { name : / I n v i t e d / } ) ) . not . toBeInTheDocument ( ) ;
7575 } ) ;
You can’t perform that action at this time.
0 commit comments