Skip to content

feat: Add emoji picker to editor #410

feat: Add emoji picker to editor

feat: Add emoji picker to editor #410

Triggered via pull request September 6, 2026 15:48
Status Failure
Total duration 5m 53s
Artifacts –

build-lint-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
build
Process completed with exit code 1.
src/tanstack/pending/pending-navigation.test.tsx > the routers that ship with VitNode > apps/web declares the default pending component and both of its timings: packages/vitnode/src/tanstack/pending/pending-navigation.test.tsx#L380
AssertionError: expected 'import type { AnyRouter } from \'@tan…' to contain 'defaultPendingMs: 150' - Expected + Received - defaultPendingMs: 150 + import type { AnyRouter } from '@tanstack/react-router' + + import { createRouter as createTanStackRouter } from '@tanstack/react-router' + import { setupRouterSsrQueryIntegration } from '@tanstack/react-router-ssr-query' + import { createVitNodeQueryClient } from '@vitnode/core/lib/query-client' + import { + ErrorActions, + NotFound, + Error500Page, + } from '@vitnode/core/tanstack/layout' + import { RoutePendingSpinner } from '@vitnode/core/tanstack/pending' + import { + pluginRouteSpecs, + withPluginRoutes, + } from '@vitnode/core/tanstack/plugin-routes' + + import './lib/auth' + import './lib/admin-auth' + import { + withCoreAdminRoutes, + withCoreMainRoutes, + withCoreRootRoutes, + } from '@vitnode/core/tanstack/routes' + + import { dehydrateDocsPage, hydrateDocsPage } from './docs/hydration' + import { createLocaleRewrite, localeRouting } from './lib/i18n/runtime' + import { pageHead } from './lib/page-head' + import { pluginRouteSources } from './plugin-routes.gen' + import { Route as adminShellRoute } from './routes/_admin' + import { Route as mainShellRoute } from './routes/_main' + import { routeTree as fileRouteTree } from './routeTree.gen' + + const loadContentRegistry = async () => + (await import('#/lib/content-registry')).contentRegistry + + const routeTree = withCoreRootRoutes( + withCoreAdminRoutes( + withCoreMainRoutes( + withPluginRoutes(fileRouteTree, pluginRouteSpecs(pluginRouteSources), { + mountUnder: { admin: adminShellRoute, main: mainShellRoute }, + pageHead, + }), + { localeRouting, mountUnder: mainShellRoute, pageHead }, + ), + { loadContentRegistry, mountUnder: adminShellRoute, pageHead }, + ), + { localeRouting, mountUnder: fileRouteTree, pageHead }, + ) + + export function getRouter() { + const queryClient = createVitNodeQueryClient() + const holder: { current?: AnyRouter } = {} + + const router = createTanStackRouter({ + context: { queryClient }, + defaultPendingComponent: RoutePendingSpinner, + defaultPreload: 'intent', + scrollRestoration: true, + dehydrate: () => dehydrateDocsPage(holder.current), + hydrate: hydrateDocsPage, + rewrite: createLocaleRewrite(() => holder.current), + routeTree, + defaultNotFoundComponent: () => <NotFound actions={<ErrorActions />} />, + defaultErrorComponent: () => <Error500Page actions={<ErrorActions />} />, + }) + + holder.current = router + + setupRouterSsrQueryIntegration({ queryClient, router }) + + return router + } + + declare module '@tanstack/react-router' { + interface Register { + router: ReturnType<typeof getRouter> + } + } + ❯ src/tanstack/pending/pending-navigation.test.tsx:380:22
build
command (/home/runner/work/vitnode/vitnode/packages/vitnode) /home/runner/setup-pnpm/node_modules/.bin/bin/pnpm run test exited (1)
build: apps/web/src/router.tsx#L9
Expected "Error500Page" to come before "NotFound"
build: packages/vitnode/src/tanstack/layout/index.ts#L10
Expected "Error500Page" to come before "NotFound"