3 Commits

Author SHA1 Message Date
91e608415f chore: bump to version v1.3.1
Some checks failed
Publish / publish (push) Has been cancelled
2026-03-26 12:23:55 +00:00
058abf59c4 Merge pull request 'fix: assert repository call with specific parameters in observable completion' (#55) from fix/spec-without-expect into main
Reviewed-on: #55
Reviewed-by: blas <me@blassanto.me>
2026-03-26 12:22:55 +00:00
1d52da3805 test: assert repository call with specific parameters in observable completion
All checks were successful
Lint / lint (pull_request) Successful in 14s
2026-03-26 13:16:41 +01:00
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@blas/openapi-clean-arch-generator",
"version": "1.3.0",
"version": "1.3.1",
"description": "Angular Clean Architecture generator from OpenAPI/Swagger",
"main": "dist/main.js",
"bin": {

View File

@@ -76,7 +76,10 @@ describe('{{classname}}UseCasesImpl', () => {
mockRepository.{{nickname}}.and.returnValue(of(undefined));
useCase.{{nickname}}({{#allParams}}{{{testValue}}}{{^-last}}, {{/-last}}{{/allParams}}).subscribe({
complete: () => done()
complete: () => {
expect(mockRepository.{{nickname}}).toHaveBeenCalledOnceWith({{#allParams}}{{{testValue}}}{{^-last}}, {{/-last}}{{/allParams}});
done();
}
});
{{/returnBaseType}}
{{/isListContainer}}