Commit Graph

7 Commits

Author SHA1 Message Date
0968085084 Add jsdom and set environment to jsdom for future browser based testing
All checks were successful
JavaScriptUtilsVitest / ci-tests (push) Successful in 18s
2025-03-10 20:05:26 +09:00
f9d771f079 Add coverage report and basic vitest settings
Set tests folder and coverage settings, update run commands for tests
2025-03-10 17:29:07 +09:00
2f9333da54 Add testing for HtmlElementCreator and fix ...args calls
All args passthrough class where missing the leading "..."

Added Testing to HtmlElementCreator
2025-03-10 17:02:17 +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
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