来源:https://stackoverflow.com/questions/57620180/how-to-do-unit-testing-for-getcurrentnavigation-extras-state-in-angular-7 标签 angular typescript jasmine karma-jasmine angular7-router