From 9116921b752fbfa0cdc147c6ffa0c9881c0aec4a Mon Sep 17 00:00:00 2001 From: Ferdi Koomen Date: Wed, 6 Nov 2019 14:53:51 +0100 Subject: [PATCH] - Fixed build --- src/utils/getSortedServices.spec.ts | 6 +++--- src/utils/writeClientModels.spec.ts | 3 +-- src/utils/writeClientServices.spec.ts | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) 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: [], }, ];