Uploaded image for project: 'Camunda Operate'
  1. Camunda Operate
  2. OPE-1004

Improve instances store tests

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: frontend
    • Labels:
      None

      Description

      Problem description

      Currently a test for instance stores is skipped. It needs to be investigated how to improve the tests

      Challenges

      • the store gets instantiated inside stores/instances.js
      • this means instantiation happens upon import in the test suite
      • the store reads from local storage upon instantiation
      • it's not possible to mock different return values of local storage in the test, because the instance of the store is already there

        mgm-controller-panel

        This is the controller panel for Smart Panels app

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              patrick.dehn Patrick Dehn
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated: