diff --git a/src/utils/getSortedServices.spec.ts b/src/utils/getSortedServices.spec.ts index 44ba0fd1..24634f79 100644 --- a/src/utils/getSortedServices.spec.ts +++ b/src/utils/getSortedServices.spec.ts @@ -6,17 +6,17 @@ describe('getSortedServices', () => { const services = new Map(); services.set('John', { name: 'John', - base: 'John', + operations: [], imports: [], }); services.set('Jane', { name: 'Jane', - base: 'Jane', + operations: [], imports: [], }); services.set('Doe', { name: 'Doe', - base: 'Doe', + operations: [], imports: [], }); diff --git a/src/utils/writeClientModels.spec.ts b/src/utils/writeClientModels.spec.ts index ff3f2509..12a93700 100644 --- a/src/utils/writeClientModels.spec.ts +++ b/src/utils/writeClientModels.spec.ts @@ -15,8 +15,7 @@ describe('writeClientModels', () => { base: 'Item', type: '', template: '', - description: null, - extends: null, + extends: [], imports: [], properties: [], enums: [], diff --git a/src/utils/writeClientServices.spec.ts b/src/utils/writeClientServices.spec.ts index a8642af6..f697ef9f 100644 --- a/src/utils/writeClientServices.spec.ts +++ b/src/utils/writeClientServices.spec.ts @@ -12,7 +12,7 @@ describe('writeClientServices', () => { const services: Service[] = [ { name: 'Item', - base: 'Item', + operations: [], imports: [], }, ];