vitest.config.js
岩岩接觸 Vitest 由於我唔係好熟 TypeScript 但係 Vitest 既 tutorial 同 documentation 多數係用 TypeScript 所以唔知個 vitest.config.js 應該係有 D 咩… 所以就係呢度 share 我個 initial config vitest.config.js import react …
•
1 min read
岩岩接觸 Vitest 由於我唔係好熟 TypeScript 但係 Vitest 既 tutorial 同 documentation 多數係用 TypeScript 所以唔知個 vitest.config.js 應該係有 D 咩… 所以就係呢度 share 我個 initial config vitest.config.js import react …
終於有時間玩返D 自己想玩既野 好耐之前自己用 nodejs express 整左個 project 用 Jest 做 Unit Test 之後 upload 個 report 去 Codecov{:target="_blank"} 放便睇返個coverage report 最近想幫岩岩起既 NextJs project 做 Unit Test 同 …
最近嘗試在 React App 上加入 Coverage Report… 可能是因為是用了create-react-app 所以在使用 yarn test 的時候便自己加了 watch mode.. create-react-app test 當有 code change 時便會再 test 一次.. 在 console 上不停顯示 code …
今日係 NodeJs 上用 Jest 寫 Unit Test 時出現了以下錯誤信息 ReferenceError: regeneratorRuntime is not defined ReferenceError: regeneratorRuntime is not defined 解決方法: 只要在 NodeJs Project 上安裝 …