Closed tharun208 closed 4 years ago
sure @GentlemanHal
@GentlemanHal, To do make it simple can I spy on the resetConfiguration method. So, It can cover both of the functions inside it
@GentlemanHal, To do make it simple can I spy on the resetConfiguration method. So, It can cover both of the functions inside it
No because that is the function under test! Spying on that means someone could delete the contents of the function but the test would still pass 😱
If you are having trouble spying on the window reload, let me know and I can update the test after it's merged.
Hi @GentlemanHal, I have made the changes and updated the test to spy on both the clear and reload functions
I've rebased the changes back onto master, thanks @tharun208!
The styling was broken so I made a few changes.
Fixes issue #149
@build-canaries/owners