Add ts-mockito library to project

Included ts-mockito version 2.6.1 to both package.json and pnpm-lock.yaml files. This addition will aid in creating mock objects in unit tests, enhancing the project's test capabilities.
This commit is contained in:
Mathis H (Avnyr) 2024-09-30 14:33:39 +02:00
parent 310a806c87
commit 040dada16c
Signed by: Mathis
GPG Key ID: DD9E0666A747D126
2 changed files with 11 additions and 0 deletions

View File

@ -70,6 +70,7 @@
"sonner": "^1.5.0", "sonner": "^1.5.0",
"tailwind-merge": "^2.5.2", "tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7", "tailwindcss-animate": "^1.0.7",
"ts-mockito": "^2.6.1",
"tslib": "^2.7.0" "tslib": "^2.7.0"
}, },
"devDependencies": { "devDependencies": {

10
pnpm-lock.yaml generated
View File

@ -197,6 +197,9 @@ importers:
tailwindcss-animate: tailwindcss-animate:
specifier: ^1.0.7 specifier: ^1.0.7
version: 1.0.7(tailwindcss@3.4.3(ts-node@10.9.1(@swc/core@1.5.29(@swc/helpers@0.5.13))(@types/node@18.16.9)(typescript@5.5.4))) version: 1.0.7(tailwindcss@3.4.3(ts-node@10.9.1(@swc/core@1.5.29(@swc/helpers@0.5.13))(@types/node@18.16.9)(typescript@5.5.4)))
ts-mockito:
specifier: ^2.6.1
version: 2.6.1
tslib: tslib:
specifier: ^2.7.0 specifier: ^2.7.0
version: 2.7.0 version: 2.7.0
@ -7991,6 +7994,9 @@ packages:
typescript: '*' typescript: '*'
webpack: ^5.0.0 webpack: ^5.0.0
ts-mockito@2.6.1:
resolution: {integrity: sha512-qU9m/oEBQrKq5hwfbJ7MgmVN5Gu6lFnIGWvpxSjrqq6YYEVv+RwVFWySbZMBgazsWqv6ctAyVBpo9TmAxnOEKw==}
ts-node@10.9.1: ts-node@10.9.1:
resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
hasBin: true hasBin: true
@ -17914,6 +17920,10 @@ snapshots:
typescript: 5.5.4 typescript: 5.5.4
webpack: 5.93.0(@swc/core@1.5.29(@swc/helpers@0.5.13))(esbuild@0.19.12)(webpack-cli@5.1.4(webpack@5.93.0)) webpack: 5.93.0(@swc/core@1.5.29(@swc/helpers@0.5.13))(esbuild@0.19.12)(webpack-cli@5.1.4(webpack@5.93.0))
ts-mockito@2.6.1:
dependencies:
lodash: 4.17.21
ts-node@10.9.1(@swc/core@1.5.29(@swc/helpers@0.5.13))(@types/node@18.16.9)(typescript@5.4.5): ts-node@10.9.1(@swc/core@1.5.29(@swc/helpers@0.5.13))(@types/node@18.16.9)(typescript@5.4.5):
dependencies: dependencies:
'@cspotcode/source-map-support': 0.8.1 '@cspotcode/source-map-support': 0.8.1