Skip to content

passing test

passing test #3851

Triggered via push June 3, 2024 21:43
Status Failure
Total duration 5m 29s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 6 warnings
lint: packages/ui/app/src/api-page/endpoints/Endpoint.tsx#L26
Unexpected console statement
lint
@fern-ui/ui#lint:eslint: command (/home/runner/work/fern-platform/fern-platform/packages/ui/app) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint:eslint exited (1)
lint
Process completed with exit code 1.
test
@fern-ui/ui#test: command (/home/runner/work/fern-platform/fern-platform/packages/ui/app) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
src/resolver/__test__/ApiDefinitionResolver.test.ts > resolveApiDefinition > should finish resolving: packages/ui/app/src/resolver/__test__/ApiDefinitionResolver.test.ts#L41
Error: Snapshot `resolveApiDefinition > should finish resolving 1` mismatched - Expected + Received @@ -4,17 +4,14 @@ "tokenName": "token", "type": "bearerAuth", }, "items": [ { - "apiSectionId": "054ca3d6-33a5-4d53-a813-f2a33e4062cc", "availability": undefined, "description": undefined, - "id": "subpackage_merchants", "items": [ { - "apiPackageId": "subpackage_merchants", "apiSectionId": "054ca3d6-33a5-4d53-a813-f2a33e4062cc", "auth": { "tokenName": "token", "type": "bearerAuth", }, @@ -25,10 +22,11 @@ "errors": [], "examples": [], "headers": [], "id": "subpackage_merchants.getMerchants", "method": "GET", + "nodeId": "api-reference.subpackage_merchants.subpackage_merchants.getMerchants", "path": [], "pathParameters": [], "queryParameters": [], "requestBody": undefined, "responseBody": { @@ -43,29 +41,23 @@ }, "type": "list", }, "statusCode": 200, }, - "slug": [ - "merchants", - "get-merchants", - ], + "slug": "api-reference/merchants/get-merchants", "snippetTemplates": undefined, "stream": undefined, "title": "Get Merchants", "type": "endpoint", }, ], - "name": "Merchants", - "slug": [ - "merchants", - ], + "slug": "api-reference/merchants", "title": "Merchants", "type": "subpackage", }, ], - "slug": [], + "slug": "api-reference", "type": "rootPackage", "types": { "type_merchants:Merchant": { "availability": undefined, "description": undefined, ❯ src/resolver/__test__/ApiDefinitionResolver.test.ts:41:26
src/resolver/__test__/ApiDefinitionResolver.test.ts > resolveApiDefinition > should resolve authed and unauthed endpoints: packages/ui/app/src/resolver/__test__/ApiDefinitionResolver.test.ts#L75
Error: Snapshot `resolveApiDefinition > should resolve authed and unauthed endpoints 1` mismatched - Expected + Received @@ -4,11 +4,10 @@ "tokenName": "token", "type": "bearerAuth", }, "items": [ { - "apiPackageId": "054ca3d6-33a5-4d53-a813-f2a33e4062cc", "apiSectionId": "054ca3d6-33a5-4d53-a813-f2a33e4062cc", "auth": undefined, "availability": undefined, "defaultEnvironment": { "baseUrl": "https://api.sayari.com", @@ -24,10 +23,11 @@ "errors": [], "examples": [], "headers": [], "id": "getToken", "method": "POST", + "nodeId": "api-reference.getToken", "path": [ { "type": "literal", "value": "", }, @@ -117,20 +117,17 @@ "type": "reference", "typeId": "type_auth:AuthResponse", }, "statusCode": 200, }, - "slug": [ - "get-token", - ], + "slug": "api-reference/get-token", "snippetTemplates": undefined, "stream": undefined, "title": "Get Token", "type": "endpoint", }, { - "apiPackageId": "054ca3d6-33a5-4d53-a813-f2a33e4062cc", "apiSectionId": "054ca3d6-33a5-4d53-a813-f2a33e4062cc", "auth": { "tokenName": "token", "type": "bearerAuth", }, @@ -149,10 +146,11 @@ "errors": [], "examples": [], "headers": [], "id": "testAuth", "method": "POST", + "nodeId": "api-reference.testAuth", "path": [ { "type": "literal", "value": "/test/authed", }, @@ -177,20 +175,17 @@ "description": undefined, "type": "unknown", }, "statusCode": 200, }, - "slug": [ - "test-authed", - ], + "slug": "api-reference/test-authed", "snippetTemplates": undefined, "stream": undefined, "title": "Get Token", "type": "endpoint", }, { - "apiPackageId": "054ca3d6-33a5-4d53-a813-f2a33e4062cc", "apiSectionId": "054ca3d6-33a5-4d53-a813-f2a33e4062cc", "auth": { "headerWireValue": "test-api-key", "type": "header", }, @@ -209,10 +204,11 @@ "errors": [], "examples": [], "headers": [], "id": "testHeaderAuth", "method": "POST", + "nodeId": "api-reference.testHeaderAuth", "path": [ { "type": "literal", "value": "/test/authed", }, @@ -237,20 +233,18 @@ "description": undefined, "type": "unknown", }, "statusCode": 200, }, - "slug": [ - "test-header-auth", - ], + "slug": "api-reference/test-header-auth", "snippetTemplates": undefined, "stream": undefined, "title": "Get Token", "type": "endpoint", }, ], - "slug": [], + "slug": "api-reference", "type": "rootPackage", "types": { "type_auth:AuthResponse": { "availability": undefined, "description": undefined, ❯ src/resolver/__test__/ApiDefinitionResolver.test.ts:75:26
test
Process completed with exit code 1.
check
@fern-ui/fdr-utils#depcheck: command (/home/runner/work/fern-platform/fern-platform/packages/commons/fdr-utils) /home/runner/setup-pnpm/node_modules/.bin/pnpm run depcheck exited (255)
check
Process completed with exit code 255.
check-docs-release-is-allowed
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
visual-testing
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
fern-generate
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.