aboutsummaryrefslogtreecommitdiff
path: root/pnpm-lock.yaml
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2023-01-03 01:57:39 -0300
committerSebastian <sebasjm@gmail.com>2023-01-03 01:58:18 -0300
commita2668c22f0d18386fc988f27299172145d9fa15d (patch)
tree38f06046ce4d71ee3af64ede931754bfae6dc954 /pnpm-lock.yaml
parentd1aa79eae817b1cf4c23f800308ecad101692ac7 (diff)
downloadwallet-core-a2668c22f0d18386fc988f27299172145d9fa15d.tar.xz
refactor better QA
removed axios, use fetch removed jest, added mocha and chai moved the default request handler to runtime dependency (so it can be replaced for testing) refactored ALL the test to the standard web-utils all hooks now use ONE request handler moved the tests from test folder to src
Diffstat (limited to 'pnpm-lock.yaml')
-rw-r--r--pnpm-lock.yaml107
1 files changed, 50 insertions, 57 deletions
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c88b131c0..6ada7a842 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -343,15 +343,12 @@ importers:
'@gnu-taler/pogen': ^0.0.5
'@gnu-taler/taler-util': workspace:*
'@gnu-taler/web-util': workspace:*
- '@testing-library/preact': ^2.0.1
- '@testing-library/preact-hooks': ^1.1.0
+ '@types/chai': ^4.3.0
'@types/history': ^4.7.8
- '@types/jest': ^26.0.23
'@types/mocha': ^8.2.3
'@types/node': ^18.11.17
'@typescript-eslint/eslint-plugin': ^4.22.0
'@typescript-eslint/parser': ^4.22.0
- axios: ^0.21.1
base64-inline-loader: ^1.1.1
bulma: ^0.9.2
bulma-checkbox: ^1.1.1
@@ -360,6 +357,7 @@ importers:
bulma-switch-control: ^1.1.1
bulma-timeline: ^3.0.4
bulma-upload-control: ^1.2.0
+ chai: ^4.3.6
date-fns: 2.29.3
dotenv: ^8.2.0
eslint: ^7.25.0
@@ -371,8 +369,6 @@ importers:
html-webpack-skip-assets-plugin: ^1.0.1
inline-chunk-html-plugin: ^1.1.1
jed: 1.1.1
- jest: ^26.6.3
- jest-preset-preact: ^4.0.2
mocha: ^9.2.0
preact: 10.11.3
preact-render-to-string: ^5.2.6
@@ -380,6 +376,7 @@ importers:
qrcode-generator: 1.4.4
rimraf: ^3.0.2
sass: 1.56.1
+ source-map-support: ^0.5.21
swr: 1.3.0
typedoc: ^0.20.36
typescript: 4.8.4
@@ -387,7 +384,6 @@ importers:
dependencies:
'@gnu-taler/taler-util': link:../taler-util
'@gnu-taler/web-util': link:../web-util
- axios: 0.21.4
date-fns: 2.29.3
history: 4.10.1
jed: 1.1.1
@@ -399,10 +395,8 @@ importers:
devDependencies:
'@creativebulma/bulma-tooltip': 1.2.0
'@gnu-taler/pogen': link:../pogen
- '@testing-library/preact': 2.0.1_preact@10.11.3
- '@testing-library/preact-hooks': 1.1.0_eng4adldpgibddgycwaukopxga
+ '@types/chai': 4.3.3
'@types/history': 4.7.11
- '@types/jest': 26.0.24
'@types/mocha': 8.2.3
'@types/node': 18.11.17
'@typescript-eslint/eslint-plugin': 4.33.0_k4l66av2tbo6kxzw52jzgbfzii
@@ -415,20 +409,20 @@ importers:
bulma-switch-control: 1.2.2
bulma-timeline: 3.0.5
bulma-upload-control: 1.2.0
+ chai: 4.3.6
dotenv: 8.6.0
eslint: 7.32.0
- eslint-config-preact: 1.3.0_nxlzr75jbqkso2fds5zjovs2ii
+ eslint-config-preact: 1.3.0_pycg7frr72nxxf2dj537ozbyqq
eslint-plugin-header: 3.1.1_eslint@7.32.0
html-webpack-inline-chunk-plugin: 1.1.1
html-webpack-inline-source-plugin: 0.0.10
html-webpack-skip-assets-plugin: 1.0.3
inline-chunk-html-plugin: 1.1.1
- jest: 26.6.3
- jest-preset-preact: 4.0.5_w5bq6jgm3cbfmbu2zwqko4iate
mocha: 9.2.2
preact-render-to-string: 5.2.6_preact@10.11.3
rimraf: 3.0.2
sass: 1.56.1
+ source-map-support: 0.5.21
typedoc: 0.20.37_typescript@4.8.4
typescript: 4.8.4
@@ -5814,16 +5808,6 @@ packages:
preact: 10.11.2
dev: true
- /@testing-library/preact-hooks/1.1.0_eng4adldpgibddgycwaukopxga:
- resolution: {integrity: sha512-+JIor+NsOHkK3oIrwMDGKGHXTN0JJi462dBJlj4FNbGaDPTlctE6eu2ranWQirh7/FJMkWfzQCP+tk7jmY8ZrQ==}
- peerDependencies:
- '@testing-library/preact': ^2.0.0
- preact: ^10.4.8
- dependencies:
- '@testing-library/preact': 2.0.1_preact@10.11.3
- preact: 10.11.3
- dev: true
-
/@testing-library/preact/2.0.1_preact@10.11.2:
resolution: {integrity: sha512-79kwVOY+3caoLgaPbiPzikjgY0Aya7Fc7TvGtR1upCnz2wrtmPDnN2t9vO7I7vDP2zoA+feSwOH5Q0BFErhaaQ==}
engines: {node: '>= 10'}
@@ -5834,16 +5818,6 @@ packages:
preact: 10.11.2
dev: true
- /@testing-library/preact/2.0.1_preact@10.11.3:
- resolution: {integrity: sha512-79kwVOY+3caoLgaPbiPzikjgY0Aya7Fc7TvGtR1upCnz2wrtmPDnN2t9vO7I7vDP2zoA+feSwOH5Q0BFErhaaQ==}
- engines: {node: '>= 10'}
- peerDependencies:
- preact: '>=10 || ^10.0.0-alpha.0 || ^10.0.0-beta.0'
- dependencies:
- '@testing-library/dom': 7.31.2
- preact: 10.11.3
- dev: true
-
/@tootallnate/once/1.1.2:
resolution: {integrity: sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==}
engines: {node: '>= 6'}
@@ -11268,6 +11242,28 @@ packages:
- typescript
dev: true
+ /eslint-config-preact/1.3.0_pycg7frr72nxxf2dj537ozbyqq:
+ resolution: {integrity: sha512-yHYXg5qNzEJd3D/30AmsIW0W8MuY858KpApXp7xxBF08IYUljSKCOqMx+dVucXHQnAm7+11wOnMkgVHIBAechw==}
+ peerDependencies:
+ eslint: 6.x || 7.x || 8.x
+ dependencies:
+ '@babel/core': 7.18.9
+ '@babel/eslint-parser': 7.19.1_o5peei4wpze5egwf42u76kwdva
+ '@babel/plugin-syntax-class-properties': 7.12.13_@babel+core@7.18.9
+ '@babel/plugin-syntax-decorators': 7.19.0_@babel+core@7.18.9
+ '@babel/plugin-syntax-jsx': 7.18.6_@babel+core@7.18.9
+ eslint: 7.32.0
+ eslint-plugin-compat: 4.0.2_eslint@7.32.0
+ eslint-plugin-jest: 25.7.0_pycg7frr72nxxf2dj537ozbyqq
+ eslint-plugin-react: 7.31.10_eslint@7.32.0
+ eslint-plugin-react-hooks: 4.6.0_eslint@7.32.0
+ transitivePeerDependencies:
+ - '@typescript-eslint/eslint-plugin'
+ - jest
+ - supports-color
+ - typescript
+ dev: true
+
/eslint-config-preact/1.3.0_qqbgcrpnpybc6dh47gt272vyy4:
resolution: {integrity: sha512-yHYXg5qNzEJd3D/30AmsIW0W8MuY858KpApXp7xxBF08IYUljSKCOqMx+dVucXHQnAm7+11wOnMkgVHIBAechw==}
peerDependencies:
@@ -11430,6 +11426,27 @@ packages:
- typescript
dev: true
+ /eslint-plugin-jest/25.7.0_pycg7frr72nxxf2dj537ozbyqq:
+ resolution: {integrity: sha512-PWLUEXeeF7C9QGKqvdSbzLOiLTx+bno7/HC9eefePfEb257QFHg7ye3dh80AZVkaa/RQsBB1Q/ORQvg2X7F0NQ==}
+ engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
+ peerDependencies:
+ '@typescript-eslint/eslint-plugin': ^4.0.0 || ^5.0.0
+ eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
+ jest: '*'
+ peerDependenciesMeta:
+ '@typescript-eslint/eslint-plugin':
+ optional: true
+ jest:
+ optional: true
+ dependencies:
+ '@typescript-eslint/eslint-plugin': 4.33.0_k4l66av2tbo6kxzw52jzgbfzii
+ '@typescript-eslint/experimental-utils': 5.41.0_3rubbgt5ekhqrcgx4uwls3neim
+ eslint: 7.32.0
+ transitivePeerDependencies:
+ - supports-color
+ - typescript
+ dev: true
+
/eslint-plugin-jest/25.7.0_qqbgcrpnpybc6dh47gt272vyy4:
resolution: {integrity: sha512-PWLUEXeeF7C9QGKqvdSbzLOiLTx+bno7/HC9eefePfEb257QFHg7ye3dh80AZVkaa/RQsBB1Q/ORQvg2X7F0NQ==}
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
@@ -14582,30 +14599,6 @@ packages:
- supports-color
dev: true
- /jest-preset-preact/4.0.5_w5bq6jgm3cbfmbu2zwqko4iate:
- resolution: {integrity: sha512-MnU7mfpnwopJkdx0WoEyRmrNDIvRN+w6sOur0zEhaRYYMo0gJM7UdZHWTV8k6uo0+ypY+m0kQW6kMukUx4v8JQ==}
- peerDependencies:
- jest: 26.x || 27.x
- preact: 10.x
- preact-render-to-string: 5.x
- dependencies:
- '@babel/core': 7.18.9
- '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.18.9
- '@babel/plugin-transform-react-jsx': 7.19.0_@babel+core@7.18.9
- '@babel/preset-env': 7.18.9_@babel+core@7.18.9
- '@babel/preset-typescript': 7.18.6_@babel+core@7.18.9
- babel-jest: 27.5.1_@babel+core@7.18.9
- identity-obj-proxy: 3.0.0
- isomorphic-unfetch: 3.1.0
- jest: 26.6.3
- jest-watch-typeahead: 0.6.5_jest@26.6.3
- preact: 10.11.3
- preact-render-to-string: 5.2.6_preact@10.11.3
- transitivePeerDependencies:
- - encoding
- - supports-color
- dev: true
-
/jest-regex-util/26.0.0:
resolution: {integrity: sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==}
engines: {node: '>= 10.14.2'}