Add Task list on Tasks page

This commit is contained in:
Charles Bochet
2022-12-05 00:49:45 +01:00
parent c724bc7907
commit 235ae1859d
26 changed files with 311 additions and 48 deletions

View File

@ -0,0 +1,10 @@
import { render } from '@testing-library/react';
import { TaskListHeaderDefault } from '../../../stories/pages/tasks/TaskListHeader.stories';
it('Checks the TaskListHeader render', () => {
const { getAllByText } = render(<TaskListHeaderDefault />);
const text = getAllByText('6 tasks waiting');
expect(text).toBeDefined();
});