Skip to content

fix(tests): [nan-2498] failing tests #889

fix(tests): [nan-2498] failing tests

fix(tests): [nan-2498] failing tests #889

Triggered via pull request February 6, 2025 13:34
Status Failure
Total duration 4m 12s
Artifacts

tests.yaml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors
integrations/lever/tests/lever-get-posting.test.ts > lever get-posting tests > should output the action output that is expected: integrations/lever/actions/get-posting.ts#L6
TypeError: Cannot read properties of undefined (reading 'id') ❯ Module.runAction [as default] integrations/lever/actions/get-posting.ts:6:41 ❯ integrations/lever/tests/lever-get-posting.test.ts:14:32
integrations/linear/tests/linear-create-issue.test.ts > linear create-issue tests > should output the action output that is expected: vitest.setup.ts#L57
Error: Failed to load mock data from /home/runner/work/integration-templates/integration-templates/integrations/linear/mocks/nango/post/proxy/graphql/create-issue/265a544983738639b4bcd52876caf23823a927b0.json: ENOENT: no such file or directory, open '/home/runner/work/integration-templates/integration-templates/integrations/linear/mocks/nango/post/proxy/graphql/create-issue/265a544983738639b4bcd52876caf23823a927b0.json' { "method": "post", "endpoint": "graphql", "requestIdentityHash": "265a544983738639b4bcd52876caf23823a927b0", "requestIdentity": { "method": "post", "endpoint": "graphql", "params": [], "headers": [], "data": "{\"query\":\"\\n mutation CreateIssue($input: IssueCreateInput!) {\\n issueCreate(input: $input) {\\n success\\n issue {\\n \\n assignee {\\n id\\n email\\n displayName\\n avatarUrl\\n name\\n }\\n createdAt\\n updatedAt\\n creator {\\n id\\n email\\n displayName\\n avatarUrl\\n name\\n }\\n description\\n dueDate\\n id\\n project {\\n id\\n }\\n team {\\n id\\n }\\n title\\n state {\\n description\\n id\\n name\\n }\\n projectMilestone {\\n id\\n }\\n\\n }\\n }\\n }\\n \",\"variables\":{\"input\":{\"title\":\"Test issue\",\"description\":\"Make sure this works\",\"teamId\":\"628072cc-e551-46b6-a67e-f24ba2f91aaa\",\"projectId\":\"a6294641-65e3-4837-a1db-58a9ccf286f1\"}}}" } } ❯ NangoActionMock.getMockFile vitest.setup.ts:57:23 ❯ NangoActionMock.getCachedResponse vitest.setup.ts:78:26 ❯ NangoActionMock.proxyData vitest.setup.ts:363:24
integrations/smartsheet/tests/smartsheet-create-user.test.ts > smartsheet create-user tests > should output the action output that is expected: vitest.setup.ts#L57
Error: Failed to load mock data from /home/runner/work/integration-templates/integration-templates/integrations/smartsheet/mocks/nango/post/proxy/2.0/users/create-user/78b162220bdabdeaf764934361818561e6b97aa7.json: ENOENT: no such file or directory, open '/home/runner/work/integration-templates/integration-templates/integrations/smartsheet/mocks/nango/post/proxy/2.0/users/create-user/78b162220bdabdeaf764934361818561e6b97aa7.json' { "method": "post", "endpoint": "2.0/users", "requestIdentityHash": "78b162220bdabdeaf764934361818561e6b97aa7", "requestIdentity": { "method": "post", "endpoint": "2.0/users", "params": [], "headers": [], "data": "{\"admin\":false,\"licensedSheetCreator\":false,\"firstName\":\"John\",\"lastName\":\"Dough\",\"email\":\"[email protected]\"}" } } ❯ NangoActionMock.getMockFile vitest.setup.ts:57:23 ❯ NangoActionMock.getCachedResponse vitest.setup.ts:78:26 ❯ NangoActionMock.proxyData vitest.setup.ts:363:24
integrations/xero/tests/xero-general-ledger.test.ts > xero general-ledger tests > should get, map correctly the data and batchSave the result: vitest.setup.ts#L57
Error: Failed to load mock data from /home/runner/work/integration-templates/integration-templates/integrations/xero/mocks/nango/get/proxy/api.xro/2.0/Journals/general-ledger/816da25ef30d148cad3aa4103745ece3cadf6195.json: ENOENT: no such file or directory, open '/home/runner/work/integration-templates/integration-templates/integrations/xero/mocks/nango/get/proxy/api.xro/2.0/Journals/general-ledger/816da25ef30d148cad3aa4103745ece3cadf6195.json' { "method": "get", "endpoint": "api.xro/2.0/Journals", "requestIdentityHash": "816da25ef30d148cad3aa4103745ece3cadf6195", "requestIdentity": { "method": "get", "endpoint": "api.xro/2.0/Journals", "params": [ [ "offset", "0" ], [ "page", 1 ] ], "headers": [ [ "If-Modified-Since", "" ], [ "xero-tenant-id", "059d40d4-7997-4fa0-84a8-d453afc33d22" ] ] } } ❯ NangoSyncMock.getMockFile vitest.setup.ts:57:23 ❯ NangoSyncMock.getCachedResponse vitest.setup.ts:78:26 ❯ NangoSyncMock.proxyData vitest.setup.ts:363:24 ❯ NangoSyncMock.offsetPaginate vitest.setup.ts:293:30 ❯ NangoSyncMock.getProxyPaginateData vitest.setup.ts:142:13 ❯ Module.fetchData [as default] integrations/xero/syncs/general-ledger.ts:31:22 ❯ integrations/xero/tests/xero-general-ledger.test.ts:16:9
integrations/xero/tests/xero-general-ledger.test.ts > xero general-ledger tests > should get, map correctly the data and batchDelete the result: vitest.setup.ts#L57
Error: Failed to load mock data from /home/runner/work/integration-templates/integration-templates/integrations/xero/mocks/nango/get/proxy/api.xro/2.0/Journals/general-ledger/816da25ef30d148cad3aa4103745ece3cadf6195.json: ENOENT: no such file or directory, open '/home/runner/work/integration-templates/integration-templates/integrations/xero/mocks/nango/get/proxy/api.xro/2.0/Journals/general-ledger/816da25ef30d148cad3aa4103745ece3cadf6195.json' { "method": "get", "endpoint": "api.xro/2.0/Journals", "requestIdentityHash": "816da25ef30d148cad3aa4103745ece3cadf6195", "requestIdentity": { "method": "get", "endpoint": "api.xro/2.0/Journals", "params": [ [ "offset", "0" ], [ "page", 1 ] ], "headers": [ [ "If-Modified-Since", "" ], [ "xero-tenant-id", "059d40d4-7997-4fa0-84a8-d453afc33d22" ] ] } } ❯ NangoSyncMock.getMockFile vitest.setup.ts:57:23 ❯ NangoSyncMock.getCachedResponse vitest.setup.ts:78:26 ❯ NangoSyncMock.proxyData vitest.setup.ts:363:24 ❯ NangoSyncMock.offsetPaginate vitest.setup.ts:293:30 ❯ NangoSyncMock.getProxyPaginateData vitest.setup.ts:142:13 ❯ Module.fetchData [as default] integrations/xero/syncs/general-ledger.ts:31:22 ❯ integrations/xero/tests/xero-general-ledger.test.ts:36:9
tests (ubuntu-latest, 20.x)
Process completed with exit code 1.
tests (ubuntu-latest, 18.x)
The job was canceled because "ubuntu-latest_20_x" failed.
tests (ubuntu-latest, 18.x)
The operation was canceled.