Skip to content

Latest commit

 

History

History

Day20

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

從測試角度操作 Redux-Saga 和 Reducer

Quick Start

  1. Copy the content of root folder to your project folder.
  2. Run the cmd: npm install or npm i.
  3. Run the cmd: npm run start to run the project.
  4. Run the cmd: npm run build to build the project.
  5. Run the cmd: npm run test to execute test case.
  6. Run the cmd: npm run test-cov to generate a the test coverage report.

快速開始

  1. 複製根目錄內容到你的專案資料夾。
  2. 在 cmd 中輸入指令 npm installnpm i
  3. 在 cmd 中輸入指令 npm run start 運行網頁。
  4. 在 cmd 中輸入指令 npm run build 進行編譯。
  5. 在 cmd 中輸入指令 npm run test 執行測試案例。
  6. 在 cmd 中輸入指令 npm run test-cov 執行測試案例,並產生覆蓋率報告。