Open teoh4770 opened 6 months ago
Implementing test on the component level and page level. Will add a list of things that need to test later on.
-> BDD https://en.wikipedia.org/wiki/Behavior-driven_development
How to test local storage -> config: JSDOM -> able to use the browser api like localStorage -> able to listen to the method call
source: https://runthatline.com/vitest-mock-localstorage/
Implementing test on the component level and page level. Will add a list of things that need to test later on.
-> BDD https://en.wikipedia.org/wiki/Behavior-driven_development