大致上是mock 掉localStorage 的方法跟環境變數值。 "setupTestFrameworkScriptFile": "<rootDir>/config/jest/setupTestFramework.js" ...
確定! 回上一頁