You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the inject function for retrieving directive providers throws "No provider for ..." error.
This can be reproduced by adding the following test in this file:
it('should retrieve provider', () => {
host = createHost();
const provider = host.inject(directiveProviderToken, true); // this line will throw "No provider for ... error"
expect(provider).toBeDefined();
});
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
spectator v15.0.1
angular v16.1.0
Anything else?
No response
Do you want to create a pull request?
No
The text was updated successfully, but these errors were encountered:
Is this a regression?
No
Description
Using the inject function for retrieving directive providers throws "No provider for ..." error.
This can be reproduced by adding the following test in this file:
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
Anything else?
No response
Do you want to create a pull request?
No
The text was updated successfully, but these errors were encountered: