Panagiotis Papadopoulos
|
5c20a6d5ee
|
test(server/utils): add tests for isDev
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
de5ffb591d
|
test(server/utils): add tests for isMac/isWindows/isElectron
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
81db681732
|
refactor(server/utils): remove unused union
function is not used at all anywhere
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
45cf0334f1
|
test(server/utils): add tests for stripTags
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
738436061c
|
test(server/utils): add tests for removeDiacritic and normalize
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
92123e1761
|
refactor(server/utils): get rid of isString
let's use typeof x === "string" → works exactly the same and at the same speed as this custom isString fn
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
41c96fb202
|
test(server/utils): add tests for envToBoolean
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
9689222fd4
|
test(server/utils): add tests for removeTextFileExtension
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
05a0acbdb5
|
test(server/utils): add tests for newEntityId
and randomString
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
33346e0cee
|
test(server/utils): add tests for sanitizeSqlIdentifier
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
8546fe2333
|
test(server/utils): add tests for isEmptyOrWhitespace
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
e6f5321444
|
test(server/utils): move formatDownloadTitle tests to spec file
|
2025-02-01 14:37:12 +01:00 |
|
Panagiotis Papadopoulos
|
668cc7e1a4
|
test(import/utils): prepare spec file
|
2025-02-01 14:37:12 +01:00 |
|