How can I return the response from my api when testing with chai-http and Jest

后端 未结 0 1434
孤独总比滥情好
孤独总比滥情好 2021-01-06 22:49

I am trying to test my node api index endpoint with the code below

index.test.js

const chai = require(\'chai\')
const chaiHttp = requi         


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