Jest stub doesn't change state of fake repository

前端 未结 0 1348
傲寒
傲寒 2021-01-17 02:57

I am trying to stub my repository.

My DB is faked by an array of string.

I wish that this array get populated with one new entry when my code call reposi

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