tennisgent / quickmock

quickmock is an simple service for automatically injecting mocks into your AngularJS unit tests using Jasmine or Mocha
http://tennisgent.github.io/quickmock
34 stars 14 forks source link

Fixed a bug affecting constants and values #18

Closed mitchogaard closed 7 years ago

mitchogaard commented 7 years ago

Constants and values are allowed to be defined as arrays. When defining either as an array, QuickMock would incorrectly assume that we were trying to denote dependencies. Dependencies cannot, however, be defined for constants and values in this manner.