Skip to content

Merge branch 'main' into ajiang/rerender-attempt-3 #2260

Merge branch 'main' into ajiang/rerender-attempt-3

Merge branch 'main' into ajiang/rerender-attempt-3 #2260

Triggered via push April 2, 2024 16:28
Status Failure
Total duration 3m 9s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
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/mdx/__test__/mdx.test.ts > maybeSerializeMdxContent > custom html > should render custom html: packages/ui/app/src/mdx/__test__/mdx.test.ts#L21
AssertionError: expected [ { type: 'span', …(3) } ] to deeply equal [ 'Hello world!' ] - Expected + Received Array [ - "Hello world!", + <span + className="bg-tag-danger t-danger inline-flex items-center gap-2 rounded-full px-2" + > + <svg + fill="none" + height="15" + viewBox="0 0 15 15" + width="15" + xmlns="http://www.w3.org/2000/svg" + > + <path + clipRule="evenodd" + d="M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z" + fill="currentColor" + fillRule="evenodd" + /> + </svg> + <span> + _jsxDEV is not a function + </span> + </span>, ] ❯ src/mdx/__test__/mdx.test.ts:21:37
src/mdx/__test__/mdx.test.ts > maybeSerializeMdxContent > custom html > should render custom html with JSX: packages/ui/app/src/mdx/__test__/mdx.test.ts#L27
AssertionError: expected undefined to deeply equal { display: 'none' } - Expected: Object { "display": "none", } + Received: undefined ❯ src/mdx/__test__/mdx.test.ts:27:40
src/mdx/__test__/mdx.test.ts > maybeSerializeMdxContent > custom html > should render custom html with className: packages/ui/app/src/mdx/__test__/mdx.test.ts#L33
AssertionError: expected 'my-4' to deeply equal 'testing' - Expected + Received - testing + my-4 ❯ src/mdx/__test__/mdx.test.ts:33:44
src/mdx/__test__/mdx.test.ts > maybeSerializeMdxContent > custom html > should render custom html with className 2: packages/ui/app/src/mdx/__test__/mdx.test.ts#L39
AssertionError: expected 'my-4' to deeply equal 'testing' - Expected + Received - testing + my-4 ❯ src/mdx/__test__/mdx.test.ts:39:44
src/mdx/__test__/mdx.test.ts > maybeSerializeMdxContent > custom html > should render custom html with CSS styles: packages/ui/app/src/mdx/__test__/mdx.test.ts#L45
AssertionError: expected undefined to deeply equal { display: 'none' } - Expected: Object { "display": "none", } + Received: undefined ❯ src/mdx/__test__/mdx.test.ts:45:40
src/mdx/__test__/mdx.test.ts > maybeSerializeMdxContent > headings > should generate automatic anchor link: packages/ui/app/src/mdx/__test__/mdx.test.ts#L52
AssertionError: expected 'div' to be 'h3' // Object.is equality - Expected + Received - h3 + div ❯ src/mdx/__test__/mdx.test.ts:52:33
src/mdx/__test__/mdx.test.ts > maybeSerializeMdxContent > headings > should generate with automatic anchor link with special letters: packages/ui/app/src/mdx/__test__/mdx.test.ts#L58
AssertionError: expected 'div' to be 'h3' // Object.is equality - Expected + Received - h3 + div ❯ src/mdx/__test__/mdx.test.ts:58:33
src/mdx/__test__/mdx.test.ts > maybeSerializeMdxContent > headings > should generate with a custom anchor link: packages/ui/app/src/mdx/__test__/mdx.test.ts#L67
AssertionError: expected 'div' to be 'h3' // Object.is equality - Expected + Received - h3 + div ❯ src/mdx/__test__/mdx.test.ts:67:33
test
Process completed with exit code 1.
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/.
organize-imports
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/.
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/.