Skip to content

POLAR@3: Component tests are not always working #394

@dopenguin

Description

@dopenguin

Describe the bug

Component tests are not working if useCoreStore is used in a component. Using useMainStore would work on the other hand. It is suspected that the re-export of some variables causes this issue.

Expected behavior

Component tests would work if a component uses useCoreStore.

Steps to reproduce

  1. Remove .skip in FullscreenUI.spec.ts
  2. npm run test
  3. Tests are failing

Additional context
next

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions