Commit Graph

17 Commits

Author SHA1 Message Date
5b69cecf9f Update isObject and isIterable, isArray
Some checks failed
JavaScriptUtilsVitest / ci-tests (push) Has been cancelled
isObject only returns true for objects and nothing else.
Update cel/ael in the HTML builder to use isArray for array check
2025-11-27 17:29:03 +09:00
ef8b4e04ce Add more URL parse helper functions, update Readme file
All checks were successful
JavaScriptUtilsVitest / ci-tests (push) Successful in 22s
`npm build` is deprecated it is now `npm run`

Add more url parser
- set/remove entry from URL
- get single entry from URL alt version
- check if url has key entry
2025-05-29 11:21:12 +09:00
082cb761c0 Action box update with change from keyInObject to objectKeyExists
All checks were successful
JavaScriptUtilsVitest / ci-tests (push) Successful in 18s
v1.0.3
2025-05-09 15:19:51 +09:00
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
a629482a20 Change the ci names
All checks were successful
JavaScriptUtilsVitest / ci-tests (push) Successful in 15s
2025-03-10 19:53:26 +09:00
c818e56f3e Test fixes for UrlParser, HtmlElementCreator
All checks were successful
CI / ci-tests (push) Successful in 15s
Also fix old parseQueryString and alias it to getQueryStringParam
v1.0.2
2025-03-10 19:33:44 +09:00
41e794b35d Node vesion 23 for github actions
All checks were successful
CI / ci-tests (push) Successful in 23s
2025-03-10 18:56:43 +09:00
1a3faad442 Github actions
All checks were successful
CI / ci-tests (push) Successful in 1m13s
2025-03-10 18:54:51 +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
df94f864cf Readme update with covered tests v1.0.1 2025-03-10 17:07:27 +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
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
v1.0.0
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