Closed Hganavak closed 5 years ago
Fixed all existing unit tests so that they no longer error. Will need to be refactored in future as they currently only test if the component
/service
was created successfully.
Writing the first proper unit test now.
Created a new directive
appSearchResultLink
to automate the process of determining whether an item should be an internal or external link, and whether it should use theanalyticsService
trackPolicy()
function.As this is the first Angular
directive
used in the project, I also created new folderdirectives/
on the same level as ourcomponents/
,services/
,pipes/
etc.