Skip to content

Commit 7f44ddb

Browse files
authored
Update page.test.tsx
1 parent 19f8dde commit 7f44ddb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

carbontrack/src/app/factory-dashboard/page.test.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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+
});

0 commit comments

Comments
 (0)