Commit Graph

6 Commits

Author SHA1 Message Date
31d71afe47 Add basic tests for all non DOM/Window calls
Note that these are very basic tests and just a start to learn vitest. There are no tests for DOM/Window because I do not know how to do those tests the best way with some headless brower testing suit or which to use
2025-03-10 10:49:35 +09:00
233fb6a235 Added StringHelpers, UniqIdGenerators and UrlParser test
UniqIdGenerators skips window.crypt test

URL tests need to be more in detail
2025-03-07 19:01:58 +09:00
ea9882256e Adding vitest for testing
Currently implemented

- FormatBytes
- MathHelpers
2025-03-07 17:24:52 +09:00
2b27dbae86 Readme file update 2025-03-07 15:45:18 +09:00
f9ffcd3327 Move login nav menu functions into class
Because we need translations, so we use a class where we require the translation class to be in the constructor

Code fix for i18n variable not set check and default fill for the translation class
2025-03-07 15:26:38 +09:00
55972b4ab7 Move all "edit.js" functions into Modules
Create new repository to track these
2025-03-07 14:46:38 +09:00