Skip to content

Unit tests are throwing type errors #12375

@LukasHirt

Description

@LukasHirt

Describe the bug

When running unit tests, there are type errors appearing. Tests themselves do not fail however. Still, we need to look into this.

Steps to reproduce

1. run `pnpm test:unit`

Expected behavior

Running tests does not produce type errors.

Actual behavior

Type errors are shown

Setup

- Web version: 11.3.1

Additional context

TypeError: Cannot destructure property 'shares' of '(intermediate value)' as it is undefined.
    at Proxy.<anonymous> (/packages/web-pkg/src/components/SideBar/FileSideBar.vue:221:17)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions