Taking a simpler approach to compatibility with Angular Forms components to solve for: #188
Instead of mocking all component providers in hopes of successfully finding/mocking the NG_VALUE_ACCESSOR, we will now inject NG_VALUE_ACCESSOR into every mock component (whether or not it asks for it).
Pros:
This should handle every scenario for testing mocked components that are used with NgValue
Cons:
Tests for components that use mocks of components that do not actually provide NG_VALUE_ACCESSOR will pass when they should actually fail.
Taking a simpler approach to compatibility with Angular Forms components to solve for: #188
Instead of mocking all component providers in hopes of successfully finding/mocking the
NG_VALUE_ACCESSOR
, we will now injectNG_VALUE_ACCESSOR
into every mock component (whether or not it asks for it).Pros:
NgValue
Cons:
NG_VALUE_ACCESSOR
will pass when they should actually fail.