Update some tests
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Siklos 2022-08-06 15:27:57 +02:00
parent 126b34fda4
commit 7e4dbd9e2d
2 changed files with 9 additions and 6 deletions

View file

@ -37,11 +37,14 @@ describe.concurrent('Sidebar open', () => {
});
it('With stuff', async() => {
const handleButtonClick = vi.fn();
const Type = 'stuff';
const handleButtonClick = vi.fn((type: string) => {
expect(type).toBe(Type);
});
render(<Sidebar
componentOptions={[
{
Type: 'stuff',
Type,
Width: 30,
Height: 30,
Style: {}