mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	test(server/utils): add todo remarks
This commit is contained in:
		
							parent
							
								
									9f2dd21865
								
							
						
					
					
						commit
						72f0de6b78
					
				@ -24,6 +24,7 @@ describe("#randomString", () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// TriliumNextTODO: should use mocks and assert that functions get called
 | 
				
			||||||
describe("#randomSecureToken", () => {
 | 
					describe("#randomSecureToken", () => {
 | 
				
			||||||
    // base64 -> 4 * (bytes/3) length -> if padding and rounding up is ignored for simplicity
 | 
					    // base64 -> 4 * (bytes/3) length -> if padding and rounding up is ignored for simplicity
 | 
				
			||||||
    // https://stackoverflow.com/a/13378842
 | 
					    // https://stackoverflow.com/a/13378842
 | 
				
			||||||
@ -44,16 +45,22 @@ describe("#randomSecureToken", () => {
 | 
				
			|||||||
    });
 | 
					    });
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// TriliumNextTODO: should use mocks and assert that functions get called
 | 
				
			||||||
describe.todo("#md5", () => {});
 | 
					describe.todo("#md5", () => {});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// TriliumNextTODO: should use mocks and assert that functions get called
 | 
				
			||||||
describe.todo("#hashedBlobId", () => {});
 | 
					describe.todo("#hashedBlobId", () => {});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// TriliumNextTODO: should use mocks and assert that functions get called
 | 
				
			||||||
describe.todo("#toBase64", () => {});
 | 
					describe.todo("#toBase64", () => {});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// TriliumNextTODO: should use mocks and assert that functions get called
 | 
				
			||||||
describe.todo("#fromBase64", () => {});
 | 
					describe.todo("#fromBase64", () => {});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// TriliumNextTODO: should use mocks and assert that functions get called
 | 
				
			||||||
describe.todo("#hmac", () => {});
 | 
					describe.todo("#hmac", () => {});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// TriliumNextTODO: should use mocks and assert that functions get called
 | 
				
			||||||
describe.todo("#hash", () => {});
 | 
					describe.todo("#hash", () => {});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
describe("#isEmptyOrWhitespace", () => {
 | 
					describe("#isEmptyOrWhitespace", () => {
 | 
				
			||||||
@ -101,8 +108,10 @@ describe("#sanitizeSqlIdentifier", () => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// TriliumNextTODO: should use mocks and assert that functions get called
 | 
				
			||||||
describe.todo("#escapeHtml", () => {});
 | 
					describe.todo("#escapeHtml", () => {});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// TriliumNextTODO: should use mocks and assert that functions get called
 | 
				
			||||||
describe.todo("#unescapeHtml", () => {});
 | 
					describe.todo("#unescapeHtml", () => {});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
describe.todo("#toObject", () => {});
 | 
					describe.todo("#toObject", () => {});
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user