I have a directive that initializes the Date object several times in several functions. When Unit testing the individual functions I can handle stubbing the date like this:I have a directive that initializes the Date ob
I have a directive that initializes the Date object several times in several functions. When Unit testing the individual functions I can handle stubbing the date like this:I have a directive that initializes the Date ob