使用前需安裝node,然後用 npm install supertest --save-dev 或者 ... 其中 before() 是Mocha提供的hook,相當於beforeAll,會在所有測試前執行。
確定! 回上一頁