feat: enhance project configuration with type checking and improved .gitignore entries

This commit is contained in:
Firman Ramdhani
2026-04-06 12:23:49 +07:00
parent 8c7b6d3017
commit 50592f27f3
9 changed files with 47 additions and 15 deletions
+2 -1
View File
@@ -8,7 +8,8 @@
"scripts": {
"lint": "eslint \"**/*.ts\"",
"test": "vitest run",
"test:watch": "vitest --watch"
"test:watch": "vitest --watch",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"crypto-js": "^4.2.0",
@@ -84,7 +84,8 @@ describe('EncryptionUtils', () => {
it('should return an empty string if input is malformed (Graceful Fail)', () => {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const consoleSpy = vi.spyOn(console, 'error').mockImplementation(() => {});
// const consoleSpy = vi.spyOn(console, 'error').mockImplementation(() => {});
vi.spyOn(console, 'error').mockImplementation(() => {});
const malformedData = 'invalid-base64-string-@@@';
const result = service.decrypt(malformedData);