Skip to content

Commit

Permalink
feat: Add makeFeePayment for /presentation/verify [DEV-3400] (#429)
Browse files Browse the repository at this point in the history
* Refactoring + adding API key logic

* Fix log-in/ log-out button sunctionality

* Format things

* Fix build

* Get rid of magic constant

* Fix review comments

* Bump deps

* Fix presentation and add presentation creation

* small refactoring

* Make format

* Fix PresenttaionCreate result

* Fix static file

* Add unit tests with jest

* Add unit and integration tests for presentation

* Fix test because of typo

* Add npm update

* Make review comments

* Fix for resolving holder DID

* fix: Make feePayment only for statusListCredentials (#435)

* Add tests for /presentation/verify endpoint

* Uncomment tests

* Fix negative tests for presentation verify

* Small refactoring

* Fix tests and add more tests for presentation verify endpoint

---------

Co-authored-by: DaevMithran <61043607+DaevMithran@users.noreply.github.com>
  • Loading branch information
Andrew Nikitin and DaevMithran authored Dec 8, 2023
1 parent a293e15 commit 940f9fa
Show file tree
Hide file tree
Showing 40 changed files with 2,084 additions and 666 deletions.
20 changes: 17 additions & 3 deletions jest.config.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
/** @type {import('ts-jest/dist/types').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1",
},
extensionsToTreatAsEsm: [".ts"],
transform: {
"^.+\\.(mt|t|cj|j)s$": [
"ts-jest",
{
useESM: true
}
]
},
testRegex: "/test/.*\\.test\\.ts$",
collectCoverageFrom: ["src/**/*.{ts,js}"],
moduleDirectories: ["node_modules", 'src'],
testEnvironment: 'node',
};
Loading

0 comments on commit 940f9fa

Please sign in to comment.