forgejo/web_src/js
vikaschoudhary 2121a29f89 test: add test coverage for web_src/js/utils.js (#4235)
[Added tests for methods]
---------------------------------
- isDarkTheme
- getCurrentLocale
- parseDom
- serializeXml
- sleep
- toAbsoluteUrl

[Pending tests for methods]
---------------------------------
- convertImage
- blobToDataURI

Co-authored-by: Vikas Choudhary <vikaschoudharycs097@gmail.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4235
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: vikaschoudhary <vikaschoudhary@noreply.codeberg.org>
Co-committed-by: vikaschoudhary <vikaschoudhary@noreply.codeberg.org>
2024-06-27 15:46:46 +00:00
..
components
features
markup
modules
render
standalone
utils
vendor
webcomponents
bootstrap.js
bootstrap.test.js
htmx.js
index.js
jquery.js
svg.js
svg.test.js
utils.js
utils.test.js test: add test coverage for web_src/js/utils.js (#4235) 2024-06-27 15:46:46 +00:00
vitest.setup.js