How can I test a mysql query using Jest in Node?

后端 未结 0 1375
借酒劲吻你
借酒劲吻你 2020-12-04 22:48

I have a simple express api which connects to a mysql database and runs a query to return the results as json.

I am trying to use Jest to create a unit test for this

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