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