從測試角度操作 Redux-Saga 和 Reducer Quick Start Copy the content of root folder to your project folder. Run the cmd: npm install or npm i. Run the cmd: npm run start to run the project. Run the cmd: npm run build to build the project. Run the cmd: npm run test to execute test case. Run the cmd: npm run test-cov to generate a the test coverage report. 快速開始 複製根目錄內容到你的專案資料夾。 在 cmd 中輸入指令 npm install 或 npm i。 在 cmd 中輸入指令 npm run start 運行網頁。 在 cmd 中輸入指令 npm run build 進行編譯。 在 cmd 中輸入指令 npm run test 執行測試案例。 在 cmd 中輸入指令 npm run test-cov 執行測試案例,並產生覆蓋率報告。