frontends icon indicating copy to clipboard operation
frontends copied to clipboard

[UNITTESTS] useCountries.ts, useCustomerPassword.ts, useListing.ts

Open BrocksiNet opened this issue 2 years ago • 1 comments

Description

File % Stmts % Branch % Funcs % Lines Uncovered Line #s
useCmsMeta.ts 45.23 100 0 45.23 20-42
useCountries.ts 41.26 100 0 41.26 27-63
useCustomerPassword.ts 47.29 100 0 47.29 36-74
useListing.ts 31.91 100 0 31.91 15-17,19-42,175-218,229-492

Use Case

Package: @shopware-pwa/composables-next

We should aim for better unit-test coverage.

Proposed Solution

No response

Alternatives Considered

No response

Additional Context

I assume the new API client will only change the logic inside the components but not the input/output. Also, it is better to have a higher coverage and then adapt the unit tests instead of making everything later when the new API client is ready.

BrocksiNet avatar Oct 18 '23 06:10 BrocksiNet

useCmsMeta.ts moved to https://github.com/shopware/frontends/issues/422 useListing.ts https://github.com/shopware/frontends/pull/915

mdanilowicz avatar Nov 16 '23 13:11 mdanilowicz