@@ -126,19 +126,19 @@ describe('Column', () => {
126126 it ( 'should show empty state when no bugs' , ( ) => {
127127 render ( < Column { ...defaultProps } bugs = { [ ] } /> )
128128
129- expect ( screen . getByText ( / n o b u g s h e r e / i) ) . toBeInTheDocument ( )
129+ expect ( screen . getByText ( / b a c k l o g b a n k r u p t c y / i) ) . toBeInTheDocument ( )
130130 } )
131131
132- it ( 'should show playful empty state message ' , ( ) => {
132+ it ( 'should show column-specific empty state subtitle ' , ( ) => {
133133 render ( < Column { ...defaultProps } bugs = { [ ] } /> )
134134
135- expect ( screen . getByText ( / t i m e t o c e l e b r a t e / i) ) . toBeInTheDocument ( )
135+ expect ( screen . getByText ( / t h e b e s t k i n d o f b a n k r u p t c y / i) ) . toBeInTheDocument ( )
136136 } )
137137
138138 it ( 'should align empty state towards top of column' , ( ) => {
139139 render ( < Column { ...defaultProps } bugs = { [ ] } /> )
140140
141- const emptyState = screen . getByText ( / n o b u g s h e r e / i) . parentElement
141+ const emptyState = screen . getByText ( / b a c k l o g b a n k r u p t c y / i) . parentElement
142142 expect ( emptyState ) . toHaveClass ( 'justify-start' )
143143 } )
144144
@@ -152,14 +152,14 @@ describe('Column', () => {
152152 render ( < Column { ...defaultProps } bugs = { [ ] } hasActiveFilters = { false } /> )
153153
154154 expect ( screen . queryByText ( / t r y a d j u s t i n g y o u r f i l t e r s / i) ) . not . toBeInTheDocument ( )
155- expect ( screen . getByText ( / n o b u g s h e r e / i) ) . toBeInTheDocument ( )
155+ expect ( screen . getByText ( / b a c k l o g b a n k r u p t c y / i) ) . toBeInTheDocument ( )
156156 } )
157157
158- it ( 'should show celebration message without filter guidance when filters active but bugs exist' , ( ) => {
158+ it ( 'should show bugs without empty state when filters active but bugs exist' , ( ) => {
159159 render ( < Column { ...defaultProps } bugs = { mockBugs } hasActiveFilters = { true } /> )
160160
161161 // Should show bugs, not empty state
162- expect ( screen . queryByText ( / n o b u g s h e r e / i) ) . not . toBeInTheDocument ( )
162+ expect ( screen . queryByText ( / b a c k l o g b a n k r u p t c y / i) ) . not . toBeInTheDocument ( )
163163 expect ( screen . queryByText ( / t r y a d j u s t i n g y o u r f i l t e r s / i) ) . not . toBeInTheDocument ( )
164164 } )
165165 } )
0 commit comments