預設的情況下, jest 會去找專案資料夾中的 tests 資料夾:. $ mkdir __tests__ ... return `module.exports = ${JSON.stringify(path.basename(filename))}`;
確定! 回上一頁