feat(sdk): added support for services #22
Annotations
7 errors
src/test/events.test.ts > Events SDK > versionEvent > adds the given event to the versioned directory and removes itself from the root:
src/events.ts#L163
Error: No event found with id: InventoryAdjusted
❯ src/events.ts:163:11
❯ src/test/events.test.ts:250:7
|
src/test/events.test.ts > Events SDK > addFileToEvent > takes a given file and version and writes the file to the correct location:
src/events.ts#L163
Error: No event found with id: InventoryAdjusted
❯ src/events.ts:163:11
❯ src/test/events.test.ts:309:7
|
src/test/events.test.ts > Events SDK > addSchemaToEvent > takes a given file and writes it to the location of the given event:
src/events.ts#L213
Error: Cannot find directory to write file to
❯ src/events.ts:213:29
❯ src/events.ts:254:5
❯ src/test/events.test.ts:346:7
|
src/test/services.test.ts > Services SDK > versionService > adds the given service to the versioned directory and removes itself from the root:
src/services.ts#L119
Error: ENOENT: no such file or directory, open '/home/runner/work/sdk/sdk/src/test/catalog/services/InventoryService/index.md'
❯ Function.matter.read node_modules/.pnpm/[email protected]/node_modules/gray-matter/index.js:179:18
❯ src/services.ts:119:55
❯ src/test/services.test.ts:161:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, syscall: 'open', code: 'ENOENT', path: '/home/runner/work/sdk/sdk/src/test/catalog/services/InventoryService/index.md' }
|
src/test/services.test.ts > Services SDK > addFileToService > takes a given file and writes it to the location of the given service:
src/services.ts#L211
Error: Cannot find directory to write file to
❯ src/services.ts:211:29
❯ src/test/services.test.ts:282:7
|
src/test/services.test.ts > Services SDK > addFileToService > takes a given file and version and writes the file to the correct location:
src/services.ts#L113
Error: No service found with id: InventoryService
❯ src/services.ts:113:11
❯ src/test/services.test.ts:298:7
|
Tests
Process completed with exit code 1.
|