Spies for test/led.js

What are your thoughts on spys for this? I was getting a failing test on an earlier node 10.x because the interval object was slightly different.