fix(ts6): resolve empty DTS output and console build failures across monorepo #4464
ci.yml
on: pull_request
Build Core
34s
Test
13m 49s
Build Docs
48s
E2E Tests
0s
Annotations
16 errors
|
Build Core
Process completed with exit code 2.
|
|
Build Core
@object-ui/i18n#build: command (/home/runner/work/objectui/objectui/packages/i18n) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
|
|
Build Core:
tsconfig.json#L3
Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
|
Build Docs
Process completed with exit code 2.
|
|
Build Docs
@object-ui/i18n#build: command (/home/runner/work/objectui/objectui/packages/i18n) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (2)
|
|
Build Docs:
tsconfig.json#L3
Option 'baseUrl' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
|
|
examples/crm/src/__tests__/crm-metadata.test.ts:
examples/crm/src/apps/crm.app.ts#L3
ZodError: [
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"description"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_union",
"errors": [
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"object"
],
"path": [
"type"
],
"message": "Invalid input: expected \"object\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"objectName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"page"
],
"path": [
"type"
],
"message": "Invalid input: expected \"page\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"pageName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"url"
],
"path": [
"type"
],
"message": "Invalid input: expected \"url\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"url"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"report"
],
"path": [
"type"
],
"message": "Invalid input: expected \"report\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"reportName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"action"
],
"path": [
"type"
],
"message": "Invalid input: expected \"action\""
},
{
"expected": "object",
"code": "invalid_type",
"path": [
"actionDef"
],
"message": "Invalid input: expected object, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message"
|
|
apps/console/src/__tests__/i18n-translations.test.ts:
examples/crm/src/apps/crm.app.ts#L3
ZodError: [
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"description"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_union",
"errors": [
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"object"
],
"path": [
"type"
],
"message": "Invalid input: expected \"object\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"objectName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"page"
],
"path": [
"type"
],
"message": "Invalid input: expected \"page\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"pageName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"url"
],
"path": [
"type"
],
"message": "Invalid input: expected \"url\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"url"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"report"
],
"path": [
"type"
],
"message": "Invalid input: expected \"report\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"reportName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"action"
],
"path": [
"type"
],
"message": "Invalid input: expected \"action\""
},
{
"expected": "object",
"code": "invalid_type",
"path": [
"actionDef"
],
"message": "Invalid input: expected object, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message"
|
|
apps/console/src/__tests__/ReportView.test.tsx:
examples/crm/src/apps/crm.app.ts#L3
ZodError: [
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"description"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_union",
"errors": [
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"object"
],
"path": [
"type"
],
"message": "Invalid input: expected \"object\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"objectName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"page"
],
"path": [
"type"
],
"message": "Invalid input: expected \"page\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"pageName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"url"
],
"path": [
"type"
],
"message": "Invalid input: expected \"url\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"url"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"report"
],
"path": [
"type"
],
"message": "Invalid input: expected \"report\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"reportName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"action"
],
"path": [
"type"
],
"message": "Invalid input: expected \"action\""
},
{
"expected": "object",
"code": "invalid_type",
"path": [
"actionDef"
],
"message": "Invalid input: expected object, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message"
|
|
apps/console/src/__tests__/ObjectGridInteractions.test.tsx:
examples/crm/src/apps/crm.app.ts#L3
ZodError: [
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"description"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_union",
"errors": [
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"object"
],
"path": [
"type"
],
"message": "Invalid input: expected \"object\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"objectName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"page"
],
"path": [
"type"
],
"message": "Invalid input: expected \"page\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"pageName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"url"
],
"path": [
"type"
],
"message": "Invalid input: expected \"url\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"url"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"report"
],
"path": [
"type"
],
"message": "Invalid input: expected \"report\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"reportName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"action"
],
"path": [
"type"
],
"message": "Invalid input: expected \"action\""
},
{
"expected": "object",
"code": "invalid_type",
"path": [
"actionDef"
],
"message": "Invalid input: expected object, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message"
|
|
apps/console/src/__tests__/ObjectGrid.test.tsx:
examples/crm/src/apps/crm.app.ts#L3
ZodError: [
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"description"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_union",
"errors": [
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"object"
],
"path": [
"type"
],
"message": "Invalid input: expected \"object\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"objectName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"page"
],
"path": [
"type"
],
"message": "Invalid input: expected \"page\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"pageName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"url"
],
"path": [
"type"
],
"message": "Invalid input: expected \"url\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"url"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"report"
],
"path": [
"type"
],
"message": "Invalid input: expected \"report\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"reportName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"action"
],
"path": [
"type"
],
"message": "Invalid input: expected \"action\""
},
{
"expected": "object",
"code": "invalid_type",
"path": [
"actionDef"
],
"message": "Invalid input: expected object, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message"
|
|
apps/console/src/__tests__/ObjectForm.test.tsx:
examples/crm/src/apps/crm.app.ts#L3
ZodError: [
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"description"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_union",
"errors": [
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"object"
],
"path": [
"type"
],
"message": "Invalid input: expected \"object\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"objectName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"page"
],
"path": [
"type"
],
"message": "Invalid input: expected \"page\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"pageName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"url"
],
"path": [
"type"
],
"message": "Invalid input: expected \"url\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"url"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"report"
],
"path": [
"type"
],
"message": "Invalid input: expected \"report\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"reportName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"action"
],
"path": [
"type"
],
"message": "Invalid input: expected \"action\""
},
{
"expected": "object",
"code": "invalid_type",
"path": [
"actionDef"
],
"message": "Invalid input: expected object, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message"
|
|
apps/console/src/__tests__/MSWServer.test.tsx:
examples/crm/src/apps/crm.app.ts#L3
ZodError: [
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"description"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_union",
"errors": [
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"object"
],
"path": [
"type"
],
"message": "Invalid input: expected \"object\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"objectName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"page"
],
"path": [
"type"
],
"message": "Invalid input: expected \"page\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"pageName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"url"
],
"path": [
"type"
],
"message": "Invalid input: expected \"url\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"url"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"report"
],
"path": [
"type"
],
"message": "Invalid input: expected \"report\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"reportName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"action"
],
"path": [
"type"
],
"message": "Invalid input: expected \"action\""
},
{
"expected": "object",
"code": "invalid_type",
"path": [
"actionDef"
],
"message": "Invalid input: expected object, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message"
|
|
apps/console/src/__tests__/Dashboard.test.tsx:
examples/crm/src/apps/crm.app.ts#L3
ZodError: [
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"description"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_union",
"errors": [
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"object"
],
"path": [
"type"
],
"message": "Invalid input: expected \"object\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"objectName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"page"
],
"path": [
"type"
],
"message": "Invalid input: expected \"page\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"pageName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"url"
],
"path": [
"type"
],
"message": "Invalid input: expected \"url\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"url"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"report"
],
"path": [
"type"
],
"message": "Invalid input: expected \"report\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"reportName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"action"
],
"path": [
"type"
],
"message": "Invalid input: expected \"action\""
},
{
"expected": "object",
"code": "invalid_type",
"path": [
"actionDef"
],
"message": "Invalid input: expected object, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message"
|
|
apps/console/src/__tests__/BrowserSimulation.test.tsx:
apps/console/src/App.tsx#L10
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock
❯ apps/console/src/App.tsx:10:1
❯ apps/console/src/__tests__/BrowserSimulation.test.tsx:133:1
Caused by: Caused by: ZodError: [
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"description"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_union",
"errors": [
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"object"
],
"path": [
"type"
],
"message": "Invalid input: expected \"object\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"objectName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"page"
],
"path": [
"type"
],
"message": "Invalid input: expected \"page\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"pageName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"url"
],
"path": [
"type"
],
"message": "Invalid input: expected \"url\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"url"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"report"
],
"path": [
"type"
],
"message": "Invalid input: expected \"report\""
},
{
"expected": "string",
"code": "invalid_type",
"path": [
"reportName"
],
"message": "Invalid input: expected string, received undefined"
}
],
[
{
"expected": "string",
"code": "invalid_type",
"path": [
"label"
],
"message": "Invalid input: expected string, received object"
},
{
"code": "invalid_value",
"values": [
"action"
],
"path": [
"type"
],
"message": "Invalid input: expected \"action\""
},
{
|
|
packages/fields/src/record-picker.test.tsx > RecordPickerDialog — renderGrid slot > renders external grid component via renderGrid slot:
packages/fields/src/record-picker.test.tsx#L1117
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st vi.fn() call:
[
- ObjectContaining {
- "columns": ArrayContaining [
- ObjectContaining {
+ {
+ "cellRenderer": undefined,
+ "columns": [
+ {
"field": "name",
},
],
"currentPage": 1,
"idField": "id",
- "isSelected": Any<Function>,
+ "isSelected": [Function anonymous],
"loading": false,
"multiple": false,
- "onPageChange": Any<Function>,
- "onRowClick": Any<Function>,
- "onSort": Any<Function>,
+ "onPageChange": [Function bound dispatchSetState],
+ "onRowClick": [Function anonymous],
+ "onSort": [Function anonymous],
"pageSize": 10,
- "records": ArrayContaining [
- ObjectContaining {
- "id": "1",
- "name": "Acme Corp",
- },
- ],
+ "records": [],
"sortDirection": "asc",
"sortField": null,
- "totalCount": 1,
+ "totalCount": 0,
},
]
2nd vi.fn() call:
[
- ObjectContaining {
- "columns": ArrayContaining [
- ObjectContaining {
+ {
+ "cellRenderer": undefined,
+ "columns": [
+ {
"field": "name",
},
],
"currentPage": 1,
"idField": "id",
- "isSelected": Any<Function>,
- "loading": false,
+ "isSelected": [Function anonymous],
+ "loading": true,
"multiple": false,
- "onPageChange": Any<Function>,
- "onRowClick": Any<Function>,
- "onSort": Any<Function>,
+ "onPageChange": [Function bound dispatchSetState],
+ "onRowClick": [Function anonymous],
+ "onSort": [Function anonymous],
"pageSize": 10,
- "records": ArrayContaining [
- ObjectContaining {
- "id": "1",
- "name": "Acme Corp",
- },
- ],
+ "records": [],
"sortDirection": "asc",
"sortField": null,
- "totalCount": 1,
+ "totalCount": 0,
},
]
Number of calls: 2
❯ packages/fields/src/record-picker.test.tsx:1117:24
|