I am having an issue with unit testing angular 2 RC4 app with router. It gives me this error :
Can't bind to 'routerLink' since it isn't a known native property (" <p>Please Go to <a href="/">Home</a></p>
I have implemented testing like this:
beforeEach(() => {
addProviders([
FormBuilder,
disableDeprecatedForms(),
provideForms(),
HTTP_PROVIDERS,
APP_ROUTER_PROVIDERS,
ROUTER_DIRECTIVES
])
});
Please help me through this process.