Skip to content

Commit

Permalink
refactor(backstage-plugin): Remove comment for test
Browse files Browse the repository at this point in the history
Remove the comment about extracting the test for the hook. Tests should follow user usage.

Addresses #71
  • Loading branch information
kylejwatson committed Nov 20, 2023
1 parent 5d60bae commit fd8081e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ describe('DashboardComponent', () => {
expect(queryAllByText('Error: Failed to fetch')).toHaveLength(2);
});

// TODO #71: Replace this with a test for MetricDataHook/MetricContext specifically
it('should show error if there are no datapoints', async () => {
server.use(
rest.get(metricUrl, async (_, res, ctx) => {
Expand Down

0 comments on commit fd8081e

Please sign in to comment.