LaxarJS / laxar-patterns

Utilities to implement standard event patterns in LaxarJS widgets
MIT License
5 stars 2 forks source link

caching q breaks tests #58

Closed x1B closed 8 years ago

x1B commented 8 years ago

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.

x1B commented 8 years ago

Fixed on master (v1.2.0-alpha.2).