来源:https://stackoverflow.com/questions/63580184/how-can-i-do-unit-test-for-setinterval-in-ngoninit 标签 javascript angular unit-testing testing jasmine