最近嘗試在 React App 上加入 Coverage Report… 可能是因為是用了create-react-app 所以在使用 yarn test 的時候便自己加了 watch mode.. create-react-app test 當有 code change 時便會再 test 一次.. 在 console 上不停顯示 code coverage 便很繁忙了 如果可以在 run code coverage report 時停了 watch 便好
2020-08-12
係 GitHub 用 GitHub Page Host 果個 ReactJs Project 由於個 Page 係 Subfolder 同 存放 e.g. https://sharechiwai.github.io/code-playground 而不是 https://sharechiwai.github.io 所以當我 reploy ReactApp 到 GitHub Page 上時 當 click 去任何一條 Link 時..他沒有 suffix code-playground e.g.(contact) 便 navigate 去了 https://sharechiwai.github.io/contact 而不是很聰明地 去 https://sharechiwai.github.io/code-playground/contact
2020-08-10