我在一个helper.ts文件中有以下函数
helper.ts
export public myFunction = () => { const arr = []; for (let index = 0; index < 5; index++) { arr.push(i); } return arr; }
如何在Jest测试中对其进行测试?
https://stackoverflow.com/questions/51780301
相似问题