app.get('/test', async (req, res) => { res.json({message: 'pass!'}) }) 使用Supertest 的.get 方法,向/test 傳送一個GET 請求: it('Gets the test ...
確定! 回上一頁