Skip to content

feat: add type guards to functions #26

feat: add type guards to functions

feat: add type guards to functions #26

Triggered via push October 31, 2024 01:43
Status Failure
Total duration 1m 0s
Billable time 1m
Artifacts

test-runner.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/clients/functions.test.ts > FleekSDK > should get function by its name: node_modules/.pnpm/@[email protected]/node_modules/@fleek-platform/utils-genql-client/dist/schema.ts#L207
Error: __typename is missing in "isFleekFunction" ❯ Module.isFleekFunction node_modules/.pnpm/@fleek-platform[email protected]/node_modules/@fleek-platform/utils-genql-client/dist/schema.ts:207:31 ❯ FunctionsClient.get src/clients/functions.ts:100:10 ❯ src/clients/functions.test.ts:40:22
src/clients/functions.test.ts > FleekSDK > list functions: src/libs/graphqlFetcher.ts#L87
UnknownError: Unexpected error. Repeat the action or contact support. ❯ Module.graphqlFetcher src/libs/graphqlFetcher.ts:87:9 ❯ node_modules/.pnpm/@fleek-platform[email protected]/node_modules/@fleek-platform/utils-genql-client/dist/runtime/fetcher.ts:46:20 ❯ FunctionsClient.list src/clients/functions.ts:108:22 ❯ src/clients/functions.test.ts:61:22 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { data: {} }
build
Process completed with exit code 1.