Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add more validation for user requests [DEV-3453] (#443)
* Refactor controllers * Make validation using in controllers in the same fashion * Move potentially failed logic into try-catch * Rename RevocationController to CredentialStatusController * Add some validation methods * Add validators into controller and make format * Make some fixes for controller validation * Add more tests for isVerificationMethod * Fix service validation (#19) * Fix and add new unit tests * Add more tests * Formatting * Add validation for credentials * Fix build * Fix tests and small refactoring * Enable validation for credentials * Fix unit tests * Enable presentation validation * remove unused import * Fix imports * Change expected errors in tests * npm run format * Fix presentation validator * Enable unit tests * Fix unit tests * Add cross-env * Remove unused jet configuration * Update package-lock.json * Update .gitignore * Switch jest config to JSON file * Update .prettierignore * Update prettier config * npm run format * Revert "Switch jest config to JSON file" This reverts commit 1b17810. * Update jest.config.cjs * Rename files to kebab-case * Update also-known-as.ts * Update error messages * npm run format * Fix expected errors in tests * Change expected error string for integration tests * Fix review PR comments * lockfile * Rename also-known-as * rename files * Update did-document.ts * rename credential file * kebab-case standard * kebab-case in test files * move playwright tests * Update playwright.config.ts * e2e tests folder * Update jest.config.cjs * Move to rootDirs for allowing unit tests to use /src folder * Fix integration tests due to dir structure changes --------- Co-authored-by: Ankur Banerjee <ankurdotb@users.noreply.github.com>
- Loading branch information