Add tests and raise coverage on pages (#2180)

* Add tests and raise coverage on pages

* Fix lint
This commit is contained in:
Charles Bochet
2023-10-21 20:09:08 +02:00
committed by GitHub
parent f1670f0cf4
commit 1954ed5e3a
11 changed files with 101 additions and 14 deletions

View File

@ -6,6 +6,7 @@ import {
PageDecoratorArgs,
} from '~/testing/decorators/PageDecorator';
import { graphqlMocks } from '~/testing/graphqlMocks';
import { sleep } from '~/testing/sleep';
import { Tasks } from '../Tasks';
@ -23,4 +24,8 @@ export default meta;
export type Story = StoryObj<typeof Tasks>;
export const Default: Story = {};
export const Default: Story = {
play: async ({}) => {
await sleep(100);
},
};