Overriding a component variable with a fixture in a jest test

前端 未结 0 1778
忘了有多久
忘了有多久 2020-12-30 05:01

I am trying to figure out how to use jest to test a component and override a variable (but that isn\'t a prop) inside that component with a fixture.

I\'ve simplified

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