Skip to content

Commit 5c46b42

Browse files
committed
fix(metadata.test.ts): metadata upload unit tests
Fixes the test file and controller to have passing tests and better error handling for the metadata upload functionality of the MetadataController
1 parent 3196dfc commit 5c46b42

File tree

5 files changed

+225
-279
lines changed

5 files changed

+225
-279
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@
119119
"typedoc": "^0.26.5",
120120
"typescript": "5.5.3",
121121
"typescript-eslint": "^7.7.0",
122-
"vitest": "^1.1.3"
122+
"vite-tsconfig-paths": "^5.1.4",
123+
"vitest": "^1.1.3",
124+
"vitest-mock-extended": "^2.0.2"
123125
},
124126
"lint-staged": {
125127
"*.{mjx,cjs,js,jsx,ts,tsx}": [

0 commit comments

Comments
 (0)