Mock WebAPI interface using ts-mockito

后端 未结 0 595
野的像风
野的像风 2020-12-11 17:05

I\'m writing a unit test for a class which uses browser WebAPI interface.
I use ts-mockito to mock the interface (a WebGL2RenderingContext in my case).

When I r

相关标签:
回答
  • 消灭零回复
提交回复
热议问题