feat: enhance project configuration with type checking and improved .gitignore entries
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user