File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
carbontrack/src/app/factory-dashboard Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ describe('DashboardPage Component', () => {
9090
9191 test ( 'displays emission data correctly' , ( ) => {
9292 render ( < DashboardPage /> ) ;
93- // Use straight quotes to match the actual rendered text
9493 expect ( screen . getByText ( "Today's total CO2 emissions" ) ) . toBeInTheDocument ( ) ;
9594 expect ( screen . getByText ( "This month total CO2 emissions" ) ) . toBeInTheDocument ( ) ;
9695 expect ( screen . getByText ( "Indirect Emissions" ) ) . toBeInTheDocument ( ) ;
@@ -167,4 +166,4 @@ describe('DashboardPage Component', () => {
167166 expect ( screen . getByTestId ( 'bar-chart' ) ) . toBeInTheDocument ( ) ;
168167 expect ( screen . getAllByTestId ( 'line-chart' ) . length ) . toBeGreaterThanOrEqual ( 1 ) ;
169168 } ) ;
170- } ) ;
169+ } ) ;
You can’t perform that action at this time.
0 commit comments