Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
test(server/utils): add todo remarks
Panagiotis Papadopoulos72f0de6b7893
diff --git a/src/services/utils.spec.ts b/src/services/utils.spec.tsindex 272a03b8c6..9669acfd0e 100644--- a/src/services/utils.spec.ts+++ b/src/services/utils.spec.ts@@ -24,6 +24,7 @@ describe("#randomString", () => {});+// TriliumNextTODO: should use mocks and assert that functions get calleddescribe("#randomSecureToken", () => {// base64 -> 4 * (bytes/3) length -> if padding and rounding up is ignored for simplicity// https://stackoverflow.com/a/13378842@@ -44,16 +45,22 @@ describe("#randomSecureToken", () => {});});+// TriliumNextTODO: should use mocks and assert that functions get calleddescribe.todo("#md5", () => {});+// TriliumNextTODO: should use mocks and assert that functions get calleddescribe.todo("#hashedBlobId", () => {});+// TriliumNextTODO: should use mocks and assert that functions get calleddescribe.todo("#toBase64", () => {});+// TriliumNextTODO: should use mocks and assert that functions get calleddescribe.todo("#fromBase64", () => {});+// TriliumNextTODO: should use mocks and assert that functions get calleddescribe.todo("#hmac", () => {});+// TriliumNextTODO: should use mocks and assert that functions get calleddescribe.todo("#hash", () => {});describe("#isEmptyOrWhitespace", () => {@@ -101,8 +108,10 @@ describe("#sanitizeSqlIdentifier", () => {});+// TriliumNextTODO: should use mocks and assert that functions get calleddescribe.todo("#escapeHtml", () => {});+// TriliumNextTODO: should use mocks and assert that functions get calleddescribe.todo("#unescapeHtml", () => {});describe.todo("#toObject", () => {});