LaxarJS patterns tries to be smart and stores its q implementation locally rather than querying provideQ() for each use.
However, each q instance is tied to a particular root scope behind the scenes. So, when angular is re-initialized during test setup, we cannot continue using the same (mock) q instance.
LaxarJS patterns tries to be smart and stores its q implementation locally rather than querying
provideQ()
for each use.However, each q instance is tied to a particular root scope behind the scenes. So, when angular is re-initialized during test setup, we cannot continue using the same (mock) q instance.