Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
import { screen } from '@testing-library/react'
import { NuqsTestingAdapter } from 'nuqs/adapters/testing'
import { createConsoleQueryWrapper } from '@/test/console/query-data'
import { render } from '@/test/console/render'
import ExpireNoticeModal from '../modal'
vi.mock('@/context/i18n', () => ({
useDocLink: () => (path: string) => path,
}))
vi.mock('@/hooks/use-timestamp', () => ({
default: () => ({ formatTime: () => '2026/08/20' }),
}))
describe('ExpireNoticeModal', () => {
it('navigates re-verification through the canonical Education route', () => {
const { wrapper } = createConsoleQueryWrapper({
systemFeatures: { deployment_edition: 'CLOUD' },
})
render(
<NuqsTestingAdapter>
<ExpireNoticeModal expireAt={1787155200} expired={false} onClose={vi.fn()} />
</NuqsTestingAdapter>,
{
wrapper,
},
)
expect(screen.getByRole('link', { name: 'education.notice.action.reVerify' })).toHaveAttribute(
'href',
'/education/verify',
)
})
})