79 KiB
79 KiB
Loaded vitest@4.1.8 and @vitest/coverage-v8@4.1.6 .
Running mixed versions is not supported and may lead into bugs
Update your dependencies and make sure the versions match.
RUN v4.1.8 E:/np-dms/lcbp3/frontend
Coverage enabled with v8
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > creates a user with required fields and selected role
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/admin/__tests__/sidebar.test.tsx > AdminMobileSidebar > opens mobile navigation from trigger button
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
✓ components/admin/__tests__/sidebar.test.tsx (3 tests) 4137ms
✓ auto-expands the active menu and renders child links 1931ms
✓ toggles a collapsed menu on click 1249ms
✓ opens mobile navigation from trigger button 945ms
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
✓ components/workflow/__tests__/integrated-banner.test.tsx (3 tests) 5683ms
✓ renders metadata, priority, workflow state, and legacy actions 1750ms
✓ requires comment for reject action 3667ms
✓ components/layout/__tests__/user-nav.test.tsx (5 tests) 5638ms
✓ ควรเรนเดอร์อักษรย่อชื่อผู้ใช้ได้อย่างถูกต้อง 370ms
✓ ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount) 2136ms
✓ ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile 1145ms
✓ ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings 1108ms
✓ ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out 860ms
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > pre-fills existing user and submits update without empty password
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
✓ components/correspondences/form.test.tsx (2 tests) 5784ms
✓ keeps edit prefilled values after mount (no reset on initial render) 4365ms
✓ keeps dependent fields intact after async effects (reset guard) 1406ms
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > closes when cancel is clicked
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
✓ components/admin/__tests__/user-dialog.test.tsx (3 tests) 9493ms
✓ creates a user with required fields and selected role 6627ms
✓ pre-fills existing user and submits update without empty password 2132ms
✓ closes when cancel is clicked 724ms
✓ components/rfas/__tests__/form.test.tsx (27 tests) 11328ms
✓ should render form with all required fields 1363ms
✓ should render optional fields 669ms
✓ should render submit button 468ms
✓ should render AI suggestion button 470ms
✓ should show validation error for empty project 790ms
✓ should show validation error for empty contract 570ms
✓ should show validation error for empty discipline 521ms
✓ should show validation error for empty type 439ms
✓ should show validation error for short subject 514ms
✓ should show validation error for empty to organization 546ms
✓ should allow subject input 353ms
✓ should allow description input 355ms
✓ should allow body input 310ms
✓ should allow remarks input 417ms
✓ should render shop drawing section 305ms
✓ should render as-built drawing section 379ms
✓ should show search input for as-built drawings 394ms
✓ should show preview section when form is valid 791ms
✓ should display preview number 797ms
✓ should call create mutation on valid submit 371ms
✓ components/transmittal/__tests__/transmittal-form.test.tsx (3 tests) 15758ms
✓ renders main sections and supports cancel navigation 3523ms
✓ shows validation errors when required fields are missing 1546ms
✓ submits cleaned transmittal payload and navigates to created record 10669ms
✓ components/numbering/__tests__/manual-override-form.test.tsx (12 tests) 4130ms
✓ should render form with all required fields 645ms
✓ should render with default projectId from props 409ms
✓ should show validation error for empty project 478ms
✓ should show validation error for empty recipient 336ms
✓ should submit form with valid data 485ms
✓ should reset form after successful submission 343ms
stderr | components/admin/reference/__tests__/generic-crud-table.test.tsx > GenericCrudTable > creates a new item from dialog form
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
✓ components/admin/__tests__/organization-dialog.test.tsx (8 tests) 5041ms
✓ ควรเรนเดอร์ Dialog เมื่อ open เป็น true 876ms
✓ ควรแสดง title "New Organization" เมื่อไม่มี organization prop 441ms
✓ ควรแสดง title "Edit Organization" เมื่อมี organization prop 409ms
✓ ควรแสดงปุ่ม Cancel และ Create Organization สำหรับ New 1481ms
✓ ควรแสดงปุ่ม Save Changes สำหรับ Edit 765ms
✓ ควรเรียก onOpenChange(false) เมื่อคลิก Cancel 365ms
✓ ควรแสดง validation error เมื่อ submit form ว่างเปล่า 559ms
stderr | components/admin/reference/__tests__/generic-crud-table.test.tsx > GenericCrudTable > creates a new item from dialog form
Checkbox is changing from controlled to uncontrolled. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.
✓ components/admin/reference/__tests__/generic-crud-table.test.tsx (3 tests) 4817ms
✓ renders data rows returned by fetchFn 563ms
✓ creates a new item from dialog form 3956ms
✓ components/common/__tests__/file-preview-modal.test.tsx (6 tests) 4450ms
✓ renders iframe for PDF MIME type 2034ms
✓ renders img for image MIME type 707ms
✓ shows download link for unsupported MIME type (no iframe or img) 633ms
✓ calls onClose when close button is clicked 686ms
✓ calls onUnavailable when API returns 404 372ms
✓ components/ui/__tests__/button.test.tsx (17 tests) 2486ms
✓ should render with default variant and size 1304ms
✓ components/workflow/__tests__/workflow-lifecycle.test.tsx (5 tests) 3103ms
✓ renders history steps and opens available attachments 1627ms
✓ uploads and removes pending workflow step attachments 909ms
✓ components/correspondences/detail.test.tsx (7 tests) 5793ms
✓ ควรเรนเดอร์รายละเอียดเอกสารและข้อมูลพื้นฐานได้ถูกต้อง 899ms
✓ ควรแสดงปุ่มและส่งคำขอเมื่อกด Submit for Review ในกรณีที่เป็น DRAFT 1556ms
✓ ควรแสดงข้อความเตือนภัยและซ่อนปุ่มการกระทำบางอย่างหากเอกสารถูกยกเลิก 399ms
✓ ควรแสดงปุ่ม Approve และ Reject ในกรณีที่เอกสารเป็น IN_REVIEW 753ms
✓ ควรเปิดการกดยืนยันการอนุมัติและส่งความคิดเห็นได้ถูกต้อง 1167ms
✓ ควรเปิดส่วนยกเลิกเอกสารและส่งเหตุผลการยกเลิกได้ถูกต้อง 849ms
✓ components/numbering/__tests__/sequence-viewer.test.tsx (13 tests) 1987ms
✓ should render loading state initially 468ms
✓ should filter sequences by type 338ms
✓ components/admin/security/__tests__/rbac-matrix.test.tsx (3 tests) 3438ms
✓ renders roles and permissions from API data 1689ms
✓ saves pending permission changes 1533ms
✓ components/rfas/__tests__/detail.test.tsx (19 tests) 2276ms
✓ should render RFA detail with data 565ms
✓ components/response-code/ResponseCodeSelector.test.tsx (2 tests) 1536ms
✓ renders the trigger with placeholder text 1289ms
stderr | components/layout/__tests__/layout-widgets.test.tsx > layout widgets > ProjectSwitcher ควรเลือก project และ global ได้
In HTML, <div> cannot be a child of <select>.
This will cause a hydration error.
<ProjectSwitcher>
<Select value="global" onValueChange={function onValueChange}>
> <select data-testid="project-select" value="global" onChange={function onChange}>
<SelectTrigger className="w-[200px] ...">
> <div className="flex items-center gap-2 truncate">
...
<select> cannot contain a nested <div>.
See this log for the ancestor stack trace.
✓ components/workflows/__tests__/dsl-editor.test.tsx (5 tests) 2877ms
✓ calls workflowApi.validateDSL when Validate button is clicked 1271ms
✓ calls onValidationChange(true) when validation returns errors 407ms
✓ calls onValidationChange(false) when validation returns valid 339ms
✓ calls onValidationChange(true) on server error 389ms
✓ does not call onValidationChange when prop is not provided 461ms
✓ components/layout/__tests__/layout-widgets.test.tsx (8 tests) 3105ms
✓ Sidebar ควรแสดงเมนู admin และ collapse label ได้ 1501ms
✓ GlobalSearch ควร submit query และเปิด suggestion route ได้ 946ms
✓ components/common/__tests__/confirm-dialog.test.tsx (2 tests) 2383ms
✓ ควรเรนเดอร์เนื้อหาและปุ่มต่างๆ ได้อย่างถูกต้องเมื่อเปิดใช้งาน 1947ms
✓ ควรเรียก onConfirm เมื่อกดปุ่มยืนยันสำเร็จ 425ms
✓ components/layout/__tests__/navbar.test.tsx (5 tests) 2491ms
✓ ควรเรนเดอร์ header ได้ถูกต้อง 1595ms
✓ ควรเรียก toggleSidebar เมื่อคลิกปุ่ม menu 570ms
✓ components/correspondences/tag-manager.test.tsx (5 tests) 1245ms
✓ ควรเรียก remove mutation เมื่อคลิกปุ่มลบ tag และมีสิทธิ์แก้ไข 622ms
✓ ควรเปิดส่วนเลือก tag และแสดง tag ที่พร้อมให้เพิ่มเมื่อคลิก Add Tag 330ms
✓ components/drawings/__tests__/card.test.tsx (19 tests) 2380ms
✓ should display discipline code from string 334ms
✓ components/admin/ai/__tests__/prompt-type-dropdown.test.tsx (2 tests) 1876ms
✓ ควร render dropdown สำหรับเลือกประเภทพรอมต์ 1544ms
✓ ควร disabled dropdown เมื่อ disabled=true 323ms
✓ components/common/__tests__/pagination.test.tsx (6 tests) 2902ms
✓ ควรเรนเดอร์ข้อมูลหน้าปัจจุบัน หน้าทั้งหมด และรายการทั้งหมดสำเร็จ 1714ms
✓ components/admin/ai/__tests__/ocr-engine-selector.test.tsx (3 tests) 3054ms
✓ renders OCR engine data from admin service 484ms
✓ selects a non-active OCR engine and refreshes list 2435ms
✓ components/admin/ai/__tests__/prompt-version-history.test.tsx (2 tests) 4095ms
✓ renders loading and empty states 340ms
✓ renders versions and triggers version actions 3746ms
✓ components/layout/__tests__/notifications-dropdown.test.tsx (3 tests) 2114ms
✓ ควร render notification bell icon 1429ms
✓ ควรแสดง "No new notifications" เมื่อไม่มี notification 551ms
✓ components/rfas/__tests__/list.test.tsx (11 tests) 1934ms
✓ should render RFA list with data 676ms
✓ should display status badges 505ms
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร render form สำหรับตั้งค่าบริบทข้อมูล
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร render form สำหรับตั้งค่าบริบทข้อมูล
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร disabled ปุ่มบันทึกเมื่อ isSaving=true
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร disabled ปุ่มบันทึกเมื่อ isSaving=true
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
✓ components/admin/ai/__tests__/context-config-editor.test.tsx (2 tests) 1467ms
✓ ควร render form สำหรับตั้งค่าบริบทข้อมูล 855ms
✓ ควร disabled ปุ่มบันทึกเมื่อ isSaving=true 602ms
✓ components/ai/__tests__/ai-suggestion-button.test.tsx (2 tests) 1361ms
✓ ควร disable และแสดงข้อความ fallback เมื่อ AI ถูกปิด 1202ms
✓ components/admin/ai/__tests__/sandbox-tabs.test.tsx (2 tests) 1793ms
✓ ควร render 3-step sandbox testing interface 1139ms
✓ ควร disabled ปุ่ม Run OCR เมื่อไม่มีไฟล์ 644ms
✓ components/layout/__tests__/global-search.test.tsx (4 tests) 2137ms
✓ ควร render search input 534ms
✓ ควรแสดง loading spinner เมื่อกำลังโหลด 1386ms
✓ components/layout/__tests__/header.test.tsx (1 test) 1857ms
✓ renders application title and composed controls 1848ms
✓ components/layout/__tests__/user-menu.test.tsx (3 tests) 2562ms
✓ ควร render user menu เมื่อมี user 2179ms
✓ components/layout/__tests__/sidebar.test.tsx (4 tests) 3997ms
✓ ควร render sidebar พร้อม navigation items 617ms
✓ ควรไม่แสดง Admin Panel เมื่อ user ไม่ใช่ admin 372ms
✓ ควร render mobile sidebar พร้อม navigation items 2750ms
✓ components/admin/ai/__tests__/ocr-sandbox-prompt-manager.test.tsx (3 tests) 2090ms
✓ ควร render sandbox tab พร้อม project, contract, engine และ history 1161ms
✓ ควรสลับไป editor และบันทึก prompt version ได้ 387ms
✓ ควร load template จาก history เข้า editor 533ms
✓ hooks/ai/__tests__/use-intent-classification.test.ts (9 tests) 1413ms
✓ ควรดึง definitions สำเร็จ 306ms
✓ ควรดึง definition ตาม intentCode 428ms
✓ components/layout/__tests__/project-switcher.test.tsx (3 tests) 1614ms
✓ ควร render skeleton เมื่อกำลังโหลด 1404ms
✓ hooks/__tests__/use-master-data.test.ts (15 tests) 1549ms
✓ ควรดึงข้อมูลองค์กรสำเร็จ 466ms
✓ components/numbering/__tests__/metrics-dashboard.test.tsx (10 tests) 1374ms
✓ should render metrics after successful fetch 449ms
✓ components/ai/__tests__/ai-chat-panel.test.tsx (5 tests) 1839ms
✓ ควรเรนเดอร์คอมโพเนนต์อย่างถูกต้อง 988ms
✓ hooks/__tests__/use-correspondence.test.ts (12 tests) 681ms
✓ components/correspondences/list.test.tsx (4 tests) 978ms
✓ ควรเรนเดอร์รายชื่อเอกสารและหัวตารางได้ถูกต้อง 380ms
✓ hooks/__tests__/use-workflow-action.test.ts (8 tests) 724ms
✓ hooks/__tests__/use-drawing.test.ts (10 tests) 682ms
✓ components/admin/ai/__tests__/prompt-editor.test.tsx (2 tests) 366ms
✓ ควร render editor สำหรับแก้ไขพรอมต์เทมเพลต 316ms
✓ hooks/__tests__/use-workflow-history.test.ts (8 tests) 660ms
✓ hooks/__tests__/use-workflows.test.ts (9 tests) 558ms
✓ hooks/__tests__/use-numbering.test.ts (9 tests) 610ms
✓ components/circulation/__tests__/circulation-list.test.tsx (9 tests) 765ms
✓ hooks/__tests__/use-rfa.test.ts (10 tests) 636ms
✓ hooks/__tests__/use-projects.test.ts (10 tests) 503ms
✓ components/common/__tests__/error-display.test.tsx (9 tests) 414ms
✓ hooks/__tests__/use-review-teams.test.ts (11 tests) 446ms
✓ components/layout/__tests__/dashboard-shell.test.tsx (3 tests) 199ms
✓ hooks/__tests__/use-users.test.ts (10 tests) 480ms
✓ components/admin/ai/__tests__/version-history.test.tsx (3 tests) 512ms
✓ hooks/__tests__/use-ai-chat.test.ts (4 tests) 229ms
✓ hooks/__tests__/use-dashboard.test.ts (4 tests) 330ms
stderr | components/admin/ai/__tests__/runtime-parameters-panel.test.tsx > RuntimeParametersPanel > ควร render panel พารามิเตอร์เมื่อโหลดสำเร็จ
An update to RuntimeParametersPanel inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RuntimeParametersPanel inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
✓ components/admin/ai/__tests__/runtime-parameters-panel.test.tsx (2 tests) 240ms
✓ components/correspondences/circulation-status-card.test.tsx (4 tests) 497ms
✓ components/common/__tests__/can.test.tsx (4 tests) 280ms
✓ components/common/__tests__/status-badge.test.tsx (5 tests) 806ms
✓ ควรเรนเดอร์ Draft สำหรับสถานะ DRAFT ได้อย่างถูกต้อง 617ms
✓ components/layout/__tests__/theme-toggle.test.tsx (5 tests) 752ms
✓ ควรแสดงปุ่ม Toggle White/Dark mode 489ms
✓ hooks/__tests__/use-circulation.test.ts (5 tests) 386ms
✓ hooks/__tests__/use-transmittal.test.ts (4 tests) 316ms
✓ hooks/__tests__/use-delegation.test.ts (6 tests) 1037ms
✓ ควรดึงข้อมูล delegations ของฉันสำเร็จ 725ms
✓ components/common/__tests__/workflow-error-boundary.test.tsx (3 tests) 420ms
✓ ควรเรนเดอร์ children ตามปกติเมื่อไม่มีข้อผิดพลาด 319ms
✓ components/auth/__tests__/auth-sync.test.tsx (7 tests) 299ms
✓ hooks/__tests__/use-ai-prompts.test.ts (11 tests) 465ms
✓ components/drawings/__tests__/list.test.tsx (9 tests) 577ms
✓ lib/stores/__tests__/ui-store.test.ts (5 tests) 143ms
✓ lib/stores/__tests__/draft-store.test.ts (6 tests) 166ms
✓ lib/stores/__tests__/project-store.test.ts (4 tests) 114ms
✓ lib/stores/__tests__/auth-store.test.ts (6 tests) 219ms
✓ components/transmittal/__tests__/transmittal-list.test.tsx (5 tests) 322ms
✓ lib/services/__tests__/master-data.service.test.ts (26 tests) 56ms
✓ lib/services/__tests__/workflow-engine.service.test.ts (23 tests) 49ms
✓ lib/services/__tests__/drawing-master-data.service.test.ts (23 tests) 41ms
✓ lib/api/__tests__/client.test.ts (14 tests) 33ms
✓ lib/services/__tests__/correspondence.service.test.ts (10 tests) 29ms
✓ lib/services/__tests__/dashboard.service.test.ts (7 tests) 28ms
✓ lib/services/__tests__/document-numbering.service.test.ts (7 tests) 28ms
✓ lib/services/__tests__/migration.service.test.ts (9 tests) 28ms
✓ lib/services/__tests__/session.service.test.ts (11 tests) 26ms
✓ lib/services/__tests__/user.service.test.ts (7 tests) 28ms
✓ lib/services/__tests__/rfa.service.test.ts (7 tests) 24ms
✓ lib/services/__tests__/contract.service.test.ts (7 tests) 25ms
✓ lib/services/__tests__/transmittal.service.test.ts (7 tests) 24ms
✓ lib/services/__tests__/project.service.test.ts (6 tests) 24ms
✓ lib/services/__tests__/ai.service.test.ts (6 tests) 23ms
✓ lib/services/__tests__/organization.service.test.ts (6 tests) 26ms
✓ lib/services/__tests__/review-team.service.test.ts (7 tests) 27ms
✓ lib/services/__tests__/shop-drawing.service.test.ts (4 tests) 21ms
✓ lib/services/__tests__/circulation.service.test.ts (6 tests) 23ms
✓ lib/services/__tests__/search.service.test.ts (4 tests) 21ms
✓ lib/services/__tests__/contract-drawing.service.test.ts (5 tests) 23ms
✓ lib/services/__tests__/asbuilt-drawing.service.test.ts (4 tests) 21ms
✓ lib/utils/__tests__/uuid-guard.test.ts (8 tests) 19ms
✓ lib/services/__tests__/audit-log.service.test.ts (2 tests) 20ms
✓ lib/i18n/__tests__/index.test.ts (5 tests) 15ms
Test Files 103 passed (103)
Tests 722 passed (722)
Start at 20:54:27
Duration 172.63s (transform 32.80s, setup 65.14s, import 218.87s, tests 169.88s, environment 519.10s)
% Coverage report from v8
-------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------|---------|----------|---------|---------|-------------------
All files | 50.9 | 40.94 | 49.58 | 51.68 |
components/admin | 77.23 | 72.34 | 63.46 | 80.73 |
...on-dialog.tsx | 71.42 | 72.22 | 66.66 | 75 | 81-90
sidebar.tsx | 76.59 | 77.77 | 60 | 79.48 | ...47-275,298-321
user-dialog.tsx | 80 | 70.11 | 66.66 | 84 | ...62-283,313-315
...nents/admin/ai | 41.66 | 34.21 | 34.84 | 42.8 |
...figEditor.tsx | 63.82 | 33.33 | 53.84 | 66.66 | ...20-129,153-192
...eSelector.tsx | 96.15 | 95.45 | 100 | 96.15 | 44
...ptManager.tsx | 36.88 | 22.36 | 25 | 38.36 | ...86-673,691-964
PromptEditor.tsx | 69.23 | 63.63 | 66.66 | 70.83 | ...9,57-61,87,121
...eDropdown.tsx | 50 | 100 | 50 | 50 | 31
...onHistory.tsx | 100 | 100 | 100 | 100 |
...tersPanel.tsx | 35.29 | 25.8 | 20 | 36.92 | ...07-115,128-265
SandboxTabs.tsx | 21.62 | 25.31 | 5.88 | 21.62 | ...01-202,227-445
...onHistory.tsx | 62.5 | 83.33 | 40 | 62.5 | 98-118
...dmin/reference | 54.09 | 54.54 | 40.74 | 53.33 |
...rud-table.tsx | 54.09 | 54.54 | 40.74 | 53.33 | ...76,181,259-323
...admin/security | 93.87 | 77.41 | 88.23 | 93.61 |
rbac-matrix.tsx | 93.87 | 77.41 | 88.23 | 93.61 | 46,98,104
components/ai | 23.7 | 17.75 | 25.8 | 25 |
...tusBanner.tsx | 0 | 0 | 0 | 0 | 18-40
...hatWidget.tsx | 0 | 0 | 0 | 0 | 40-286
...hat-input.tsx | 52.94 | 21.42 | 40 | 52.94 | 21-24,28-30,45
...-messages.tsx | 54.38 | 56.66 | 100 | 57.4 | ...80,83-88,91-92
...hat-panel.tsx | 75 | 33.33 | 80 | 72.72 | 32-34
...at-toggle.tsx | 0 | 0 | 0 | 0 | 16
...nner-host.tsx | 0 | 0 | 0 | 0 | 13-23
...on-button.tsx | 100 | 100 | 100 | 100 |
...ion-field.tsx | 0 | 0 | 0 | 0 | 14-147
...ison-view.tsx | 0 | 0 | 0 | 0 | 12-133
...indicator.tsx | 0 | 100 | 0 | 0 | 8
...classification | 0 | 0 | 0 | 0 |
...sult-card.tsx | 0 | 0 | 0 | 0 | 17-42
intent-form.tsx | 0 | 0 | 0 | 0 | 54-123
pattern-form.tsx | 0 | 0 | 0 | 0 | 55-164
...ole-panel.tsx | 0 | 0 | 0 | 0 | 20-89
...tion/analytics | 0 | 0 | 0 | 0 |
...ary-cards.tsx | 0 | 0 | 0 | 0 | 19-49
...own-table.tsx | 0 | 0 | 0 | 0 | 26-46
...own-table.tsx | 0 | 0 | 0 | 0 | 24-61
...ion-panel.tsx | 0 | 0 | 0 | 0 | 28-61
components/auth | 100 | 92.85 | 100 | 100 |
auth-sync.tsx | 100 | 92.85 | 100 | 100 | 43-45
...ts/circulation | 100 | 95.45 | 100 | 100 |
...tion-list.tsx | 100 | 95.45 | 100 | 100 | 120
components/common | 91.11 | 88.88 | 96.96 | 92 |
can.tsx | 100 | 100 | 100 | 100 |
...rm-dialog.tsx | 100 | 100 | 100 | 100 |
data-table.tsx | 100 | 66.66 | 100 | 100 | 41,50
...r-display.tsx | 93.33 | 93.61 | 100 | 92.85 | 69,94
...iew-modal.tsx | 87.8 | 84.61 | 88.88 | 90.9 | 35,76,92
pagination.tsx | 100 | 100 | 100 | 100 |
status-badge.tsx | 78.26 | 77.77 | 100 | 78.26 | 37-38,48-50
...-boundary.tsx | 100 | 100 | 100 | 100 |
...orrespondences | 48.69 | 43.65 | 50.37 | 49.87 |
...atus-card.tsx | 100 | 83.33 | 100 | 100 | 30-32,51-52,94
...s-content.tsx | 0 | 0 | 0 | 0 | 17-212
detail.tsx | 80.64 | 67.74 | 77.27 | 88.67 | ...93,151,195,238
form.tsx | 55.55 | 43.08 | 53.33 | 56.2 | ...43,564,593-729
list.tsx | 92.85 | 67.74 | 100 | 96.29 | 112
...-selector.tsx | 0 | 0 | 0 | 0 | 38-203
...n-history.tsx | 0 | 0 | 0 | 0 | 13-56
tag-manager.tsx | 92.85 | 88.46 | 84.61 | 91.66 | 24,131
...ow-dialog.tsx | 0 | 0 | 0 | 0 | 15-198
components/custom | 1.35 | 0 | 0 | 1.4 |
...load-zone.tsx | 2 | 0 | 0 | 2.12 | 35-187
...isualizer.tsx | 0 | 0 | 0 | 0 | 30-68
...ents/dashboard | 0 | 0 | 0 | 0 |
...ing-tasks.tsx | 0 | 0 | 0 | 0 | 15-55
...k-actions.tsx | 0 | 100 | 0 | 0 | 8
...-activity.tsx | 0 | 0 | 0 | 0 | 16-51
stats-cards.tsx | 0 | 0 | 0 | 0 | 13-58
...nts/delegation | 0 | 0 | 0 | 0 |
...ationForm.tsx | 0 | 0 | 0 | 0 | 29-162
...s/distribution | 0 | 0 | 0 | 0 |
...ionStatus.tsx | 0 | 0 | 0 | 0 | 30-54
...cuments/common | 0 | 0 | 0 | 0 |
...ata-table.tsx | 0 | 0 | 0 | 0 | 39-161
...nents/drawings | 12.26 | 25.87 | 6.06 | 13.13 |
card.tsx | 100 | 96.15 | 100 | 100 | 73
columns.tsx | 10 | 0 | 0 | 10 | 21-66
list.tsx | 100 | 100 | 100 | 100 |
...n-history.tsx | 0 | 0 | 0 | 0 | 11-17
upload-form.tsx | 0 | 0 | 0 | 0 | 29-435
components/layout | 93.83 | 86.3 | 93.75 | 93.52 |
...ard-shell.tsx | 100 | 100 | 100 | 100 |
...al-search.tsx | 86.48 | 67.85 | 92.85 | 85.71 | 24,44,62-66
header.tsx | 100 | 100 | 100 | 100 |
navbar.tsx | 100 | 100 | 100 | 100 |
...-dropdown.tsx | 100 | 78.94 | 100 | 100 | 24,28-31,67
...-switcher.tsx | 100 | 100 | 100 | 100 |
sidebar.tsx | 90.9 | 96.66 | 77.77 | 90 | 152,224,236,250
theme-toggle.tsx | 100 | 100 | 100 | 100 |
user-menu.tsx | 100 | 75 | 100 | 100 | 34
user-nav.tsx | 100 | 60 | 100 | 100 | 26-38
...ents/migration | 0 | 0 | 0 | 0 |
...eue-table.tsx | 0 | 0 | 0 | 0 | 58-479
...ents/numbering | 29.94 | 19.69 | 31.57 | 29.94 |
...ogs-table.tsx | 0 | 0 | 0 | 0 | 10-52
...port-form.tsx | 0 | 0 | 0 | 0 | 11-38
...mber-form.tsx | 0 | 0 | 0 | 0 | 14-72
...ride-form.tsx | 100 | 80 | 100 | 100 | 45
...dashboard.tsx | 100 | 100 | 100 | 100 |
...ce-viewer.tsx | 100 | 93.33 | 100 | 100 | 21
...te-editor.tsx | 0 | 0 | 0 | 0 | 16-181
...te-tester.tsx | 0 | 0 | 0 | 0 | 36-182
...lace-form.tsx | 0 | 0 | 0 | 0 | 15-91
...nents/reminder | 0 | 0 | 0 | 0 |
...erHistory.tsx | 0 | 0 | 0 | 0 | 21-55
...rRuleForm.tsx | 0 | 0 | 0 | 0 | 15-129
.../response-code | 26.41 | 17.33 | 20.83 | 26.53 |
...lications.tsx | 0 | 0 | 0 | 0 | 14-72
MatrixEditor.tsx | 0 | 0 | 0 | 0 | 44-134
...deManager.tsx | 0 | 0 | 0 | 0 | 53-137
...eSelector.tsx | 100 | 72.22 | 100 | 100 | 40,74-89
...ts/review-task | 0 | 0 | 0 | 0 |
...eviewForm.tsx | 0 | 0 | 0 | 0 | 24-88
...atedBadge.tsx | 0 | 0 | 0 | 0 | 22-26
...lProgress.tsx | 0 | 0 | 0 | 0 | 27-64
...TaskInbox.tsx | 0 | 0 | 0 | 0 | 43-159
...ideDialog.tsx | 0 | 0 | 0 | 0 | 25-87
...ts/review-team | 0 | 0 | 0 | 0 |
...wTeamForm.tsx | 0 | 0 | 0 | 0 | 22-136
...mSelector.tsx | 0 | 0 | 0 | 0 | 17-67
...erManager.tsx | 0 | 0 | 0 | 0 | 45-172
components/rfas | 57.14 | 55.08 | 43.58 | 57.56 |
detail.tsx | 58.13 | 64.28 | 62.5 | 58.53 | ...,82-92,189-194
form.tsx | 55.08 | 50.23 | 30.18 | 55.68 | ...84,496,514-778
list.tsx | 72.72 | 70.83 | 88.88 | 71.42 | 78-89
components/search | 0 | 0 | 0 | 0 |
filters.tsx | 0 | 0 | 0 | 0 | 10-81
results.tsx | 0 | 0 | 0 | 0 | 16-68
...ts/transmittal | 72.72 | 55.76 | 72.22 | 74.19 |
...ttal-form.tsx | 93.61 | 75 | 89.28 | 93.47 | 100,317,405
...ttal-list.tsx | 21.05 | 12.5 | 12.5 | 18.75 | 24-67
components/ui | 90.84 | 79.06 | 80 | 90.84 |
alert-dialog.tsx | 100 | 100 | 100 | 100 |
alert.tsx | 90 | 100 | 66.66 | 90 | 31
avatar.tsx | 100 | 100 | 100 | 100 |
badge.tsx | 100 | 100 | 100 | 100 |
button.tsx | 100 | 100 | 100 | 100 |
calendar.tsx | 0 | 0 | 0 | 0 | 13-54
card.tsx | 100 | 100 | 100 | 100 |
checkbox.tsx | 100 | 100 | 100 | 100 |
command.tsx | 91.66 | 100 | 75 | 91.66 | 83,104
dialog.tsx | 100 | 100 | 100 | 100 |
...down-menu.tsx | 92.3 | 42.85 | 71.42 | 92.3 | 79,98
form.tsx | 97.29 | 90 | 100 | 97.29 | 43
hover-card.tsx | 100 | 100 | 100 | 100 |
input.tsx | 100 | 100 | 100 | 100 |
label.tsx | 100 | 100 | 100 | 100 |
popover.tsx | 100 | 100 | 100 | 100 |
progress.tsx | 100 | 100 | 100 | 100 |
scroll-area.tsx | 100 | 80 | 100 | 100 | 30
select.tsx | 95.83 | 100 | 85.71 | 95.83 | 128
separator.tsx | 100 | 75 | 100 | 100 | 16
sheet.tsx | 86.95 | 100 | 50 | 86.95 | 73,78,94
skeleton.tsx | 100 | 100 | 100 | 100 |
sonner.tsx | 0 | 0 | 0 | 0 | 9-11
switch.tsx | 100 | 100 | 100 | 100 |
table.tsx | 91.66 | 100 | 75 | 91.66 | 28,67
tabs.tsx | 0 | 100 | 0 | 0 | 8-53
textarea.tsx | 100 | 100 | 100 | 100 |
...nents/workflow | 83.63 | 81.48 | 78.57 | 88.54 |
...ed-banner.tsx | 86.36 | 74.54 | 90 | 94.59 | 45,135
...lifecycle.tsx | 81.81 | 88.67 | 72.22 | 84.74 | 57,60,63,255-261
...ents/workflows | 15.38 | 15.32 | 12.12 | 16 |
dsl-editor.tsx | 63.15 | 61.76 | 50 | 64.86 | 41-46,51,79-88
...l-builder.tsx | 0 | 0 | 0 | 0 | 70-406
hooks | 64.06 | 43.05 | 62.76 | 64.15 |
use-ai-chat.ts | 84.21 | 50 | 75 | 88.88 | 18-21,85
...ai-prompts.ts | 100 | 75 | 100 | 100 | 107,117-175
use-ai-status.ts | 18.18 | 7.14 | 9.09 | 21.42 | 17-25,41-82
...audit-logs.ts | 0 | 100 | 0 | 0 | 5-13
...irculation.ts | 44.44 | 0 | 50 | 44.44 | 7,16-26
...espondence.ts | 51.28 | 10 | 49.05 | 51.28 | 81,98-117,136-224
use-dashboard.ts | 100 | 100 | 100 | 100 |
...delegation.ts | 100 | 100 | 100 | 100 |
...n-matrices.ts | 0 | 0 | 0 | 0 | 47-98
use-drawing.ts | 63.15 | 54.16 | 62.5 | 62.96 | ...05,124,141-179
...aster-data.ts | 100 | 61.53 | 100 | 100 | 39-72,98-99
...ion-review.ts | 0 | 0 | 0 | 0 | 20-101
...tification.ts | 0 | 100 | 0 | 0 | 5-28
use-numbering.ts | 100 | 100 | 100 | 100 |
use-projects.ts | 100 | 100 | 100 | 100 |
...rence-data.ts | 0 | 0 | 0 | 0 | 10-118
use-reminder.ts | 0 | 100 | 0 | 0 | 45-126
...onse-codes.ts | 0 | 0 | 0 | 0 | 6-41
...view-teams.ts | 100 | 50 | 100 | 100 | 27
use-rfa.ts | 78.37 | 100 | 80 | 78.37 | 41-52,87
use-search.ts | 0 | 0 | 0 | 0 | 5-23
...anslations.ts | 0 | 100 | 0 | 0 | 9-12
...ransmittal.ts | 100 | 100 | 100 | 100 |
use-users.ts | 100 | 100 | 100 | 100 |
...low-action.ts | 90.47 | 74.19 | 100 | 90.24 | 77-80,97,107
...ow-history.ts | 100 | 100 | 100 | 100 |
use-workflows.ts | 100 | 100 | 100 | 100 |
hooks/ai | 44.11 | 100 | 48.14 | 44.11 |
...sification.ts | 44.11 | 100 | 48.14 | 44.11 | 72-122
lib | 6.66 | 0 | 23.07 | 6.94 |
auth.ts | 0 | 0 | 0 | 0 | 9-232
test-utils.tsx | 66.66 | 100 | 66.66 | 66.66 | 33-34
utils.ts | 100 | 100 | 100 | 100 |
lib/api | 18.77 | 23.12 | 5.2 | 21.14 |
admin.ts | 0 | 0 | 0 | 0 | 4-111
ai.ts | 0 | 0 | 0 | 0 | 9-222
client.ts | 81.35 | 72.54 | 62.5 | 82.45 | 70-87,177
dashboard.ts | 0 | 100 | 0 | 0 | 8-53
drawings.ts | 0 | 100 | 0 | 0 | 4-41
files.ts | 14.28 | 100 | 0 | 16.66 | 15-24
notifications.ts | 0 | 0 | 0 | 0 | 4-49
numbering.ts | 0 | 0 | 0 | 0 | 124-343
workflows.ts | 0 | 0 | 0 | 0 | 4-86
lib/i18n | 100 | 100 | 100 | 100 |
index.ts | 100 | 100 | 100 | 100 |
lib/services | 70.06 | 65.93 | 70.19 | 69.3 |
...ai.service.ts | 6.38 | 0 | 2.77 | 6.38 | ...84-191,209-459
...nt.service.ts | 0 | 0 | 0 | 0 | 9-229
...ts.service.ts | 0 | 0 | 0 | 0 | 9-76
ai.service.ts | 100 | 100 | 100 | 100 |
...ng.service.ts | 100 | 100 | 100 | 100 |
...og.service.ts | 100 | 100 | 100 | 100 |
...on.service.ts | 100 | 100 | 100 | 100 |
...ng.service.ts | 100 | 100 | 100 | 100 |
...ct.service.ts | 100 | 100 | 100 | 100 |
...ce.service.ts | 61.29 | 100 | 60 | 61.29 | ...2,67-68,90-115
...rd.service.ts | 100 | 89.13 | 100 | 100 | 68,80-82
...ng.service.ts | 100 | 100 | 100 | 100 |
...ta.service.ts | 100 | 82.35 | 100 | 100 | 117-149
index.ts | 0 | 0 | 0 | 0 |
...ma.service.ts | 0 | 100 | 0 | 0 | 5-69
...ta.service.ts | 84.5 | 71.42 | 88.23 | 82.81 | ...46-147,226-241
...on.service.ts | 88.23 | 59.45 | 100 | 87.87 | 29,67-77
...ng.service.ts | 0 | 100 | 0 | 0 | 9-25
...on.service.ts | 0 | 100 | 0 | 0 | 4-19
...on.service.ts | 100 | 100 | 100 | 100 |
...ct.service.ts | 100 | 100 | 100 | 100 |
...am.service.ts | 100 | 100 | 100 | 100 |
rfa.service.ts | 100 | 100 | 100 | 100 |
...ch.service.ts | 100 | 100 | 100 | 100 |
...on.service.ts | 94.11 | 81.81 | 100 | 93.33 | 32
...ng.service.ts | 100 | 100 | 100 | 100 |
...al.service.ts | 100 | 100 | 100 | 100 |
user.service.ts | 96.15 | 80 | 100 | 96 | 27
...ne.service.ts | 96.72 | 66.17 | 100 | 96.49 | 51,62
lib/stores | 100 | 100 | 100 | 100 |
auth-store.ts | 100 | 100 | 100 | 100 |
draft-store.ts | 100 | 100 | 100 | 100 |
project-store.ts | 100 | 100 | 100 | 100 |
ui-store.ts | 100 | 100 | 100 | 100 |
lib/utils | 100 | 100 | 100 | 100 |
uuid-guard.ts | 100 | 100 | 100 | 100 |
-------------------|---------|----------|---------|---------|-------------------
Running mixed versions is not supported and may lead into bugs
Update your dependencies and make sure the versions match.
RUN v4.1.8 E:/np-dms/lcbp3/frontend
Coverage enabled with v8
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > creates a user with required fields and selected role
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/admin/__tests__/sidebar.test.tsx > AdminMobileSidebar > opens mobile navigation from trigger button
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
✓ components/admin/__tests__/sidebar.test.tsx (3 tests) 4137ms
✓ auto-expands the active menu and renders child links 1931ms
✓ toggles a collapsed menu on click 1249ms
✓ opens mobile navigation from trigger button 945ms
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
stderr | components/layout/__tests__/user-nav.test.tsx > UserNav Component > ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
The current testing environment is not configured to support act(...)
✓ components/workflow/__tests__/integrated-banner.test.tsx (3 tests) 5683ms
✓ renders metadata, priority, workflow state, and legacy actions 1750ms
✓ requires comment for reject action 3667ms
✓ components/layout/__tests__/user-nav.test.tsx (5 tests) 5638ms
✓ ควรเรนเดอร์อักษรย่อชื่อผู้ใช้ได้อย่างถูกต้อง 370ms
✓ ควรแสดงรายละเอียดผู้ใช้ใน DropdownMenuContent (forceMount) 2136ms
✓ ควรเปลี่ยนเส้นทางไปหน้า Profile เมื่อคลิกเมนู Profile 1145ms
✓ ควรเปลี่ยนเส้นทางไปหน้า Settings เมื่อคลิกเมนู Settings 1108ms
✓ ควรออกจากระบบและเปลี่ยนเส้นทางไปหน้า Login เมื่อคลิกเมนู Log out 860ms
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > pre-fills existing user and submits update without empty password
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
✓ components/correspondences/form.test.tsx (2 tests) 5784ms
✓ keeps edit prefilled values after mount (no reset on initial render) 4365ms
✓ keeps dependent fields intact after async effects (reset guard) 1406ms
stderr | components/admin/__tests__/user-dialog.test.tsx > UserDialog > closes when cancel is clicked
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
✓ components/admin/__tests__/user-dialog.test.tsx (3 tests) 9493ms
✓ creates a user with required fields and selected role 6627ms
✓ pre-fills existing user and submits update without empty password 2132ms
✓ closes when cancel is clicked 724ms
✓ components/rfas/__tests__/form.test.tsx (27 tests) 11328ms
✓ should render form with all required fields 1363ms
✓ should render optional fields 669ms
✓ should render submit button 468ms
✓ should render AI suggestion button 470ms
✓ should show validation error for empty project 790ms
✓ should show validation error for empty contract 570ms
✓ should show validation error for empty discipline 521ms
✓ should show validation error for empty type 439ms
✓ should show validation error for short subject 514ms
✓ should show validation error for empty to organization 546ms
✓ should allow subject input 353ms
✓ should allow description input 355ms
✓ should allow body input 310ms
✓ should allow remarks input 417ms
✓ should render shop drawing section 305ms
✓ should render as-built drawing section 379ms
✓ should show search input for as-built drawings 394ms
✓ should show preview section when form is valid 791ms
✓ should display preview number 797ms
✓ should call create mutation on valid submit 371ms
✓ components/transmittal/__tests__/transmittal-form.test.tsx (3 tests) 15758ms
✓ renders main sections and supports cancel navigation 3523ms
✓ shows validation errors when required fields are missing 1546ms
✓ submits cleaned transmittal payload and navigates to created record 10669ms
✓ components/numbering/__tests__/manual-override-form.test.tsx (12 tests) 4130ms
✓ should render form with all required fields 645ms
✓ should render with default projectId from props 409ms
✓ should show validation error for empty project 478ms
✓ should show validation error for empty recipient 336ms
✓ should submit form with valid data 485ms
✓ should reset form after successful submission 343ms
stderr | components/admin/reference/__tests__/generic-crud-table.test.tsx > GenericCrudTable > creates a new item from dialog form
Warning: Missing `Description` or `aria-describedby={undefined}` for {DialogContent}.
✓ components/admin/__tests__/organization-dialog.test.tsx (8 tests) 5041ms
✓ ควรเรนเดอร์ Dialog เมื่อ open เป็น true 876ms
✓ ควรแสดง title "New Organization" เมื่อไม่มี organization prop 441ms
✓ ควรแสดง title "Edit Organization" เมื่อมี organization prop 409ms
✓ ควรแสดงปุ่ม Cancel และ Create Organization สำหรับ New 1481ms
✓ ควรแสดงปุ่ม Save Changes สำหรับ Edit 765ms
✓ ควรเรียก onOpenChange(false) เมื่อคลิก Cancel 365ms
✓ ควรแสดง validation error เมื่อ submit form ว่างเปล่า 559ms
stderr | components/admin/reference/__tests__/generic-crud-table.test.tsx > GenericCrudTable > creates a new item from dialog form
Checkbox is changing from controlled to uncontrolled. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.
✓ components/admin/reference/__tests__/generic-crud-table.test.tsx (3 tests) 4817ms
✓ renders data rows returned by fetchFn 563ms
✓ creates a new item from dialog form 3956ms
✓ components/common/__tests__/file-preview-modal.test.tsx (6 tests) 4450ms
✓ renders iframe for PDF MIME type 2034ms
✓ renders img for image MIME type 707ms
✓ shows download link for unsupported MIME type (no iframe or img) 633ms
✓ calls onClose when close button is clicked 686ms
✓ calls onUnavailable when API returns 404 372ms
✓ components/ui/__tests__/button.test.tsx (17 tests) 2486ms
✓ should render with default variant and size 1304ms
✓ components/workflow/__tests__/workflow-lifecycle.test.tsx (5 tests) 3103ms
✓ renders history steps and opens available attachments 1627ms
✓ uploads and removes pending workflow step attachments 909ms
✓ components/correspondences/detail.test.tsx (7 tests) 5793ms
✓ ควรเรนเดอร์รายละเอียดเอกสารและข้อมูลพื้นฐานได้ถูกต้อง 899ms
✓ ควรแสดงปุ่มและส่งคำขอเมื่อกด Submit for Review ในกรณีที่เป็น DRAFT 1556ms
✓ ควรแสดงข้อความเตือนภัยและซ่อนปุ่มการกระทำบางอย่างหากเอกสารถูกยกเลิก 399ms
✓ ควรแสดงปุ่ม Approve และ Reject ในกรณีที่เอกสารเป็น IN_REVIEW 753ms
✓ ควรเปิดการกดยืนยันการอนุมัติและส่งความคิดเห็นได้ถูกต้อง 1167ms
✓ ควรเปิดส่วนยกเลิกเอกสารและส่งเหตุผลการยกเลิกได้ถูกต้อง 849ms
✓ components/numbering/__tests__/sequence-viewer.test.tsx (13 tests) 1987ms
✓ should render loading state initially 468ms
✓ should filter sequences by type 338ms
✓ components/admin/security/__tests__/rbac-matrix.test.tsx (3 tests) 3438ms
✓ renders roles and permissions from API data 1689ms
✓ saves pending permission changes 1533ms
✓ components/rfas/__tests__/detail.test.tsx (19 tests) 2276ms
✓ should render RFA detail with data 565ms
✓ components/response-code/ResponseCodeSelector.test.tsx (2 tests) 1536ms
✓ renders the trigger with placeholder text 1289ms
stderr | components/layout/__tests__/layout-widgets.test.tsx > layout widgets > ProjectSwitcher ควรเลือก project และ global ได้
In HTML, <div> cannot be a child of <select>.
This will cause a hydration error.
<ProjectSwitcher>
<Select value="global" onValueChange={function onValueChange}>
> <select data-testid="project-select" value="global" onChange={function onChange}>
<SelectTrigger className="w-[200px] ...">
> <div className="flex items-center gap-2 truncate">
...
<select> cannot contain a nested <div>.
See this log for the ancestor stack trace.
✓ components/workflows/__tests__/dsl-editor.test.tsx (5 tests) 2877ms
✓ calls workflowApi.validateDSL when Validate button is clicked 1271ms
✓ calls onValidationChange(true) when validation returns errors 407ms
✓ calls onValidationChange(false) when validation returns valid 339ms
✓ calls onValidationChange(true) on server error 389ms
✓ does not call onValidationChange when prop is not provided 461ms
✓ components/layout/__tests__/layout-widgets.test.tsx (8 tests) 3105ms
✓ Sidebar ควรแสดงเมนู admin และ collapse label ได้ 1501ms
✓ GlobalSearch ควร submit query และเปิด suggestion route ได้ 946ms
✓ components/common/__tests__/confirm-dialog.test.tsx (2 tests) 2383ms
✓ ควรเรนเดอร์เนื้อหาและปุ่มต่างๆ ได้อย่างถูกต้องเมื่อเปิดใช้งาน 1947ms
✓ ควรเรียก onConfirm เมื่อกดปุ่มยืนยันสำเร็จ 425ms
✓ components/layout/__tests__/navbar.test.tsx (5 tests) 2491ms
✓ ควรเรนเดอร์ header ได้ถูกต้อง 1595ms
✓ ควรเรียก toggleSidebar เมื่อคลิกปุ่ม menu 570ms
✓ components/correspondences/tag-manager.test.tsx (5 tests) 1245ms
✓ ควรเรียก remove mutation เมื่อคลิกปุ่มลบ tag และมีสิทธิ์แก้ไข 622ms
✓ ควรเปิดส่วนเลือก tag และแสดง tag ที่พร้อมให้เพิ่มเมื่อคลิก Add Tag 330ms
✓ components/drawings/__tests__/card.test.tsx (19 tests) 2380ms
✓ should display discipline code from string 334ms
✓ components/admin/ai/__tests__/prompt-type-dropdown.test.tsx (2 tests) 1876ms
✓ ควร render dropdown สำหรับเลือกประเภทพรอมต์ 1544ms
✓ ควร disabled dropdown เมื่อ disabled=true 323ms
✓ components/common/__tests__/pagination.test.tsx (6 tests) 2902ms
✓ ควรเรนเดอร์ข้อมูลหน้าปัจจุบัน หน้าทั้งหมด และรายการทั้งหมดสำเร็จ 1714ms
✓ components/admin/ai/__tests__/ocr-engine-selector.test.tsx (3 tests) 3054ms
✓ renders OCR engine data from admin service 484ms
✓ selects a non-active OCR engine and refreshes list 2435ms
✓ components/admin/ai/__tests__/prompt-version-history.test.tsx (2 tests) 4095ms
✓ renders loading and empty states 340ms
✓ renders versions and triggers version actions 3746ms
✓ components/layout/__tests__/notifications-dropdown.test.tsx (3 tests) 2114ms
✓ ควร render notification bell icon 1429ms
✓ ควรแสดง "No new notifications" เมื่อไม่มี notification 551ms
✓ components/rfas/__tests__/list.test.tsx (11 tests) 1934ms
✓ should render RFA list with data 676ms
✓ should display status badges 505ms
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร render form สำหรับตั้งค่าบริบทข้อมูล
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร render form สำหรับตั้งค่าบริบทข้อมูล
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร disabled ปุ่มบันทึกเมื่อ isSaving=true
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
stderr | components/admin/ai/__tests__/context-config-editor.test.tsx > ContextConfigEditor > ควร disabled ปุ่มบันทึกเมื่อ isSaving=true
An update to ContextConfigEditor inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
✓ components/admin/ai/__tests__/context-config-editor.test.tsx (2 tests) 1467ms
✓ ควร render form สำหรับตั้งค่าบริบทข้อมูล 855ms
✓ ควร disabled ปุ่มบันทึกเมื่อ isSaving=true 602ms
✓ components/ai/__tests__/ai-suggestion-button.test.tsx (2 tests) 1361ms
✓ ควร disable และแสดงข้อความ fallback เมื่อ AI ถูกปิด 1202ms
✓ components/admin/ai/__tests__/sandbox-tabs.test.tsx (2 tests) 1793ms
✓ ควร render 3-step sandbox testing interface 1139ms
✓ ควร disabled ปุ่ม Run OCR เมื่อไม่มีไฟล์ 644ms
✓ components/layout/__tests__/global-search.test.tsx (4 tests) 2137ms
✓ ควร render search input 534ms
✓ ควรแสดง loading spinner เมื่อกำลังโหลด 1386ms
✓ components/layout/__tests__/header.test.tsx (1 test) 1857ms
✓ renders application title and composed controls 1848ms
✓ components/layout/__tests__/user-menu.test.tsx (3 tests) 2562ms
✓ ควร render user menu เมื่อมี user 2179ms
✓ components/layout/__tests__/sidebar.test.tsx (4 tests) 3997ms
✓ ควร render sidebar พร้อม navigation items 617ms
✓ ควรไม่แสดง Admin Panel เมื่อ user ไม่ใช่ admin 372ms
✓ ควร render mobile sidebar พร้อม navigation items 2750ms
✓ components/admin/ai/__tests__/ocr-sandbox-prompt-manager.test.tsx (3 tests) 2090ms
✓ ควร render sandbox tab พร้อม project, contract, engine และ history 1161ms
✓ ควรสลับไป editor และบันทึก prompt version ได้ 387ms
✓ ควร load template จาก history เข้า editor 533ms
✓ hooks/ai/__tests__/use-intent-classification.test.ts (9 tests) 1413ms
✓ ควรดึง definitions สำเร็จ 306ms
✓ ควรดึง definition ตาม intentCode 428ms
✓ components/layout/__tests__/project-switcher.test.tsx (3 tests) 1614ms
✓ ควร render skeleton เมื่อกำลังโหลด 1404ms
✓ hooks/__tests__/use-master-data.test.ts (15 tests) 1549ms
✓ ควรดึงข้อมูลองค์กรสำเร็จ 466ms
✓ components/numbering/__tests__/metrics-dashboard.test.tsx (10 tests) 1374ms
✓ should render metrics after successful fetch 449ms
✓ components/ai/__tests__/ai-chat-panel.test.tsx (5 tests) 1839ms
✓ ควรเรนเดอร์คอมโพเนนต์อย่างถูกต้อง 988ms
✓ hooks/__tests__/use-correspondence.test.ts (12 tests) 681ms
✓ components/correspondences/list.test.tsx (4 tests) 978ms
✓ ควรเรนเดอร์รายชื่อเอกสารและหัวตารางได้ถูกต้อง 380ms
✓ hooks/__tests__/use-workflow-action.test.ts (8 tests) 724ms
✓ hooks/__tests__/use-drawing.test.ts (10 tests) 682ms
✓ components/admin/ai/__tests__/prompt-editor.test.tsx (2 tests) 366ms
✓ ควร render editor สำหรับแก้ไขพรอมต์เทมเพลต 316ms
✓ hooks/__tests__/use-workflow-history.test.ts (8 tests) 660ms
✓ hooks/__tests__/use-workflows.test.ts (9 tests) 558ms
✓ hooks/__tests__/use-numbering.test.ts (9 tests) 610ms
✓ components/circulation/__tests__/circulation-list.test.tsx (9 tests) 765ms
✓ hooks/__tests__/use-rfa.test.ts (10 tests) 636ms
✓ hooks/__tests__/use-projects.test.ts (10 tests) 503ms
✓ components/common/__tests__/error-display.test.tsx (9 tests) 414ms
✓ hooks/__tests__/use-review-teams.test.ts (11 tests) 446ms
✓ components/layout/__tests__/dashboard-shell.test.tsx (3 tests) 199ms
✓ hooks/__tests__/use-users.test.ts (10 tests) 480ms
✓ components/admin/ai/__tests__/version-history.test.tsx (3 tests) 512ms
✓ hooks/__tests__/use-ai-chat.test.ts (4 tests) 229ms
✓ hooks/__tests__/use-dashboard.test.ts (4 tests) 330ms
stderr | components/admin/ai/__tests__/runtime-parameters-panel.test.tsx > RuntimeParametersPanel > ควร render panel พารามิเตอร์เมื่อโหลดสำเร็จ
An update to RuntimeParametersPanel inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
An update to RuntimeParametersPanel inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act
✓ components/admin/ai/__tests__/runtime-parameters-panel.test.tsx (2 tests) 240ms
✓ components/correspondences/circulation-status-card.test.tsx (4 tests) 497ms
✓ components/common/__tests__/can.test.tsx (4 tests) 280ms
✓ components/common/__tests__/status-badge.test.tsx (5 tests) 806ms
✓ ควรเรนเดอร์ Draft สำหรับสถานะ DRAFT ได้อย่างถูกต้อง 617ms
✓ components/layout/__tests__/theme-toggle.test.tsx (5 tests) 752ms
✓ ควรแสดงปุ่ม Toggle White/Dark mode 489ms
✓ hooks/__tests__/use-circulation.test.ts (5 tests) 386ms
✓ hooks/__tests__/use-transmittal.test.ts (4 tests) 316ms
✓ hooks/__tests__/use-delegation.test.ts (6 tests) 1037ms
✓ ควรดึงข้อมูล delegations ของฉันสำเร็จ 725ms
✓ components/common/__tests__/workflow-error-boundary.test.tsx (3 tests) 420ms
✓ ควรเรนเดอร์ children ตามปกติเมื่อไม่มีข้อผิดพลาด 319ms
✓ components/auth/__tests__/auth-sync.test.tsx (7 tests) 299ms
✓ hooks/__tests__/use-ai-prompts.test.ts (11 tests) 465ms
✓ components/drawings/__tests__/list.test.tsx (9 tests) 577ms
✓ lib/stores/__tests__/ui-store.test.ts (5 tests) 143ms
✓ lib/stores/__tests__/draft-store.test.ts (6 tests) 166ms
✓ lib/stores/__tests__/project-store.test.ts (4 tests) 114ms
✓ lib/stores/__tests__/auth-store.test.ts (6 tests) 219ms
✓ components/transmittal/__tests__/transmittal-list.test.tsx (5 tests) 322ms
✓ lib/services/__tests__/master-data.service.test.ts (26 tests) 56ms
✓ lib/services/__tests__/workflow-engine.service.test.ts (23 tests) 49ms
✓ lib/services/__tests__/drawing-master-data.service.test.ts (23 tests) 41ms
✓ lib/api/__tests__/client.test.ts (14 tests) 33ms
✓ lib/services/__tests__/correspondence.service.test.ts (10 tests) 29ms
✓ lib/services/__tests__/dashboard.service.test.ts (7 tests) 28ms
✓ lib/services/__tests__/document-numbering.service.test.ts (7 tests) 28ms
✓ lib/services/__tests__/migration.service.test.ts (9 tests) 28ms
✓ lib/services/__tests__/session.service.test.ts (11 tests) 26ms
✓ lib/services/__tests__/user.service.test.ts (7 tests) 28ms
✓ lib/services/__tests__/rfa.service.test.ts (7 tests) 24ms
✓ lib/services/__tests__/contract.service.test.ts (7 tests) 25ms
✓ lib/services/__tests__/transmittal.service.test.ts (7 tests) 24ms
✓ lib/services/__tests__/project.service.test.ts (6 tests) 24ms
✓ lib/services/__tests__/ai.service.test.ts (6 tests) 23ms
✓ lib/services/__tests__/organization.service.test.ts (6 tests) 26ms
✓ lib/services/__tests__/review-team.service.test.ts (7 tests) 27ms
✓ lib/services/__tests__/shop-drawing.service.test.ts (4 tests) 21ms
✓ lib/services/__tests__/circulation.service.test.ts (6 tests) 23ms
✓ lib/services/__tests__/search.service.test.ts (4 tests) 21ms
✓ lib/services/__tests__/contract-drawing.service.test.ts (5 tests) 23ms
✓ lib/services/__tests__/asbuilt-drawing.service.test.ts (4 tests) 21ms
✓ lib/utils/__tests__/uuid-guard.test.ts (8 tests) 19ms
✓ lib/services/__tests__/audit-log.service.test.ts (2 tests) 20ms
✓ lib/i18n/__tests__/index.test.ts (5 tests) 15ms
Test Files 103 passed (103)
Tests 722 passed (722)
Start at 20:54:27
Duration 172.63s (transform 32.80s, setup 65.14s, import 218.87s, tests 169.88s, environment 519.10s)
% Coverage report from v8
-------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
-------------------|---------|----------|---------|---------|-------------------
All files | 50.9 | 40.94 | 49.58 | 51.68 |
components/admin | 77.23 | 72.34 | 63.46 | 80.73 |
...on-dialog.tsx | 71.42 | 72.22 | 66.66 | 75 | 81-90
sidebar.tsx | 76.59 | 77.77 | 60 | 79.48 | ...47-275,298-321
user-dialog.tsx | 80 | 70.11 | 66.66 | 84 | ...62-283,313-315
...nents/admin/ai | 41.66 | 34.21 | 34.84 | 42.8 |
...figEditor.tsx | 63.82 | 33.33 | 53.84 | 66.66 | ...20-129,153-192
...eSelector.tsx | 96.15 | 95.45 | 100 | 96.15 | 44
...ptManager.tsx | 36.88 | 22.36 | 25 | 38.36 | ...86-673,691-964
PromptEditor.tsx | 69.23 | 63.63 | 66.66 | 70.83 | ...9,57-61,87,121
...eDropdown.tsx | 50 | 100 | 50 | 50 | 31
...onHistory.tsx | 100 | 100 | 100 | 100 |
...tersPanel.tsx | 35.29 | 25.8 | 20 | 36.92 | ...07-115,128-265
SandboxTabs.tsx | 21.62 | 25.31 | 5.88 | 21.62 | ...01-202,227-445
...onHistory.tsx | 62.5 | 83.33 | 40 | 62.5 | 98-118
...dmin/reference | 54.09 | 54.54 | 40.74 | 53.33 |
...rud-table.tsx | 54.09 | 54.54 | 40.74 | 53.33 | ...76,181,259-323
...admin/security | 93.87 | 77.41 | 88.23 | 93.61 |
rbac-matrix.tsx | 93.87 | 77.41 | 88.23 | 93.61 | 46,98,104
components/ai | 23.7 | 17.75 | 25.8 | 25 |
...tusBanner.tsx | 0 | 0 | 0 | 0 | 18-40
...hatWidget.tsx | 0 | 0 | 0 | 0 | 40-286
...hat-input.tsx | 52.94 | 21.42 | 40 | 52.94 | 21-24,28-30,45
...-messages.tsx | 54.38 | 56.66 | 100 | 57.4 | ...80,83-88,91-92
...hat-panel.tsx | 75 | 33.33 | 80 | 72.72 | 32-34
...at-toggle.tsx | 0 | 0 | 0 | 0 | 16
...nner-host.tsx | 0 | 0 | 0 | 0 | 13-23
...on-button.tsx | 100 | 100 | 100 | 100 |
...ion-field.tsx | 0 | 0 | 0 | 0 | 14-147
...ison-view.tsx | 0 | 0 | 0 | 0 | 12-133
...indicator.tsx | 0 | 100 | 0 | 0 | 8
...classification | 0 | 0 | 0 | 0 |
...sult-card.tsx | 0 | 0 | 0 | 0 | 17-42
intent-form.tsx | 0 | 0 | 0 | 0 | 54-123
pattern-form.tsx | 0 | 0 | 0 | 0 | 55-164
...ole-panel.tsx | 0 | 0 | 0 | 0 | 20-89
...tion/analytics | 0 | 0 | 0 | 0 |
...ary-cards.tsx | 0 | 0 | 0 | 0 | 19-49
...own-table.tsx | 0 | 0 | 0 | 0 | 26-46
...own-table.tsx | 0 | 0 | 0 | 0 | 24-61
...ion-panel.tsx | 0 | 0 | 0 | 0 | 28-61
components/auth | 100 | 92.85 | 100 | 100 |
auth-sync.tsx | 100 | 92.85 | 100 | 100 | 43-45
...ts/circulation | 100 | 95.45 | 100 | 100 |
...tion-list.tsx | 100 | 95.45 | 100 | 100 | 120
components/common | 91.11 | 88.88 | 96.96 | 92 |
can.tsx | 100 | 100 | 100 | 100 |
...rm-dialog.tsx | 100 | 100 | 100 | 100 |
data-table.tsx | 100 | 66.66 | 100 | 100 | 41,50
...r-display.tsx | 93.33 | 93.61 | 100 | 92.85 | 69,94
...iew-modal.tsx | 87.8 | 84.61 | 88.88 | 90.9 | 35,76,92
pagination.tsx | 100 | 100 | 100 | 100 |
status-badge.tsx | 78.26 | 77.77 | 100 | 78.26 | 37-38,48-50
...-boundary.tsx | 100 | 100 | 100 | 100 |
...orrespondences | 48.69 | 43.65 | 50.37 | 49.87 |
...atus-card.tsx | 100 | 83.33 | 100 | 100 | 30-32,51-52,94
...s-content.tsx | 0 | 0 | 0 | 0 | 17-212
detail.tsx | 80.64 | 67.74 | 77.27 | 88.67 | ...93,151,195,238
form.tsx | 55.55 | 43.08 | 53.33 | 56.2 | ...43,564,593-729
list.tsx | 92.85 | 67.74 | 100 | 96.29 | 112
...-selector.tsx | 0 | 0 | 0 | 0 | 38-203
...n-history.tsx | 0 | 0 | 0 | 0 | 13-56
tag-manager.tsx | 92.85 | 88.46 | 84.61 | 91.66 | 24,131
...ow-dialog.tsx | 0 | 0 | 0 | 0 | 15-198
components/custom | 1.35 | 0 | 0 | 1.4 |
...load-zone.tsx | 2 | 0 | 0 | 2.12 | 35-187
...isualizer.tsx | 0 | 0 | 0 | 0 | 30-68
...ents/dashboard | 0 | 0 | 0 | 0 |
...ing-tasks.tsx | 0 | 0 | 0 | 0 | 15-55
...k-actions.tsx | 0 | 100 | 0 | 0 | 8
...-activity.tsx | 0 | 0 | 0 | 0 | 16-51
stats-cards.tsx | 0 | 0 | 0 | 0 | 13-58
...nts/delegation | 0 | 0 | 0 | 0 |
...ationForm.tsx | 0 | 0 | 0 | 0 | 29-162
...s/distribution | 0 | 0 | 0 | 0 |
...ionStatus.tsx | 0 | 0 | 0 | 0 | 30-54
...cuments/common | 0 | 0 | 0 | 0 |
...ata-table.tsx | 0 | 0 | 0 | 0 | 39-161
...nents/drawings | 12.26 | 25.87 | 6.06 | 13.13 |
card.tsx | 100 | 96.15 | 100 | 100 | 73
columns.tsx | 10 | 0 | 0 | 10 | 21-66
list.tsx | 100 | 100 | 100 | 100 |
...n-history.tsx | 0 | 0 | 0 | 0 | 11-17
upload-form.tsx | 0 | 0 | 0 | 0 | 29-435
components/layout | 93.83 | 86.3 | 93.75 | 93.52 |
...ard-shell.tsx | 100 | 100 | 100 | 100 |
...al-search.tsx | 86.48 | 67.85 | 92.85 | 85.71 | 24,44,62-66
header.tsx | 100 | 100 | 100 | 100 |
navbar.tsx | 100 | 100 | 100 | 100 |
...-dropdown.tsx | 100 | 78.94 | 100 | 100 | 24,28-31,67
...-switcher.tsx | 100 | 100 | 100 | 100 |
sidebar.tsx | 90.9 | 96.66 | 77.77 | 90 | 152,224,236,250
theme-toggle.tsx | 100 | 100 | 100 | 100 |
user-menu.tsx | 100 | 75 | 100 | 100 | 34
user-nav.tsx | 100 | 60 | 100 | 100 | 26-38
...ents/migration | 0 | 0 | 0 | 0 |
...eue-table.tsx | 0 | 0 | 0 | 0 | 58-479
...ents/numbering | 29.94 | 19.69 | 31.57 | 29.94 |
...ogs-table.tsx | 0 | 0 | 0 | 0 | 10-52
...port-form.tsx | 0 | 0 | 0 | 0 | 11-38
...mber-form.tsx | 0 | 0 | 0 | 0 | 14-72
...ride-form.tsx | 100 | 80 | 100 | 100 | 45
...dashboard.tsx | 100 | 100 | 100 | 100 |
...ce-viewer.tsx | 100 | 93.33 | 100 | 100 | 21
...te-editor.tsx | 0 | 0 | 0 | 0 | 16-181
...te-tester.tsx | 0 | 0 | 0 | 0 | 36-182
...lace-form.tsx | 0 | 0 | 0 | 0 | 15-91
...nents/reminder | 0 | 0 | 0 | 0 |
...erHistory.tsx | 0 | 0 | 0 | 0 | 21-55
...rRuleForm.tsx | 0 | 0 | 0 | 0 | 15-129
.../response-code | 26.41 | 17.33 | 20.83 | 26.53 |
...lications.tsx | 0 | 0 | 0 | 0 | 14-72
MatrixEditor.tsx | 0 | 0 | 0 | 0 | 44-134
...deManager.tsx | 0 | 0 | 0 | 0 | 53-137
...eSelector.tsx | 100 | 72.22 | 100 | 100 | 40,74-89
...ts/review-task | 0 | 0 | 0 | 0 |
...eviewForm.tsx | 0 | 0 | 0 | 0 | 24-88
...atedBadge.tsx | 0 | 0 | 0 | 0 | 22-26
...lProgress.tsx | 0 | 0 | 0 | 0 | 27-64
...TaskInbox.tsx | 0 | 0 | 0 | 0 | 43-159
...ideDialog.tsx | 0 | 0 | 0 | 0 | 25-87
...ts/review-team | 0 | 0 | 0 | 0 |
...wTeamForm.tsx | 0 | 0 | 0 | 0 | 22-136
...mSelector.tsx | 0 | 0 | 0 | 0 | 17-67
...erManager.tsx | 0 | 0 | 0 | 0 | 45-172
components/rfas | 57.14 | 55.08 | 43.58 | 57.56 |
detail.tsx | 58.13 | 64.28 | 62.5 | 58.53 | ...,82-92,189-194
form.tsx | 55.08 | 50.23 | 30.18 | 55.68 | ...84,496,514-778
list.tsx | 72.72 | 70.83 | 88.88 | 71.42 | 78-89
components/search | 0 | 0 | 0 | 0 |
filters.tsx | 0 | 0 | 0 | 0 | 10-81
results.tsx | 0 | 0 | 0 | 0 | 16-68
...ts/transmittal | 72.72 | 55.76 | 72.22 | 74.19 |
...ttal-form.tsx | 93.61 | 75 | 89.28 | 93.47 | 100,317,405
...ttal-list.tsx | 21.05 | 12.5 | 12.5 | 18.75 | 24-67
components/ui | 90.84 | 79.06 | 80 | 90.84 |
alert-dialog.tsx | 100 | 100 | 100 | 100 |
alert.tsx | 90 | 100 | 66.66 | 90 | 31
avatar.tsx | 100 | 100 | 100 | 100 |
badge.tsx | 100 | 100 | 100 | 100 |
button.tsx | 100 | 100 | 100 | 100 |
calendar.tsx | 0 | 0 | 0 | 0 | 13-54
card.tsx | 100 | 100 | 100 | 100 |
checkbox.tsx | 100 | 100 | 100 | 100 |
command.tsx | 91.66 | 100 | 75 | 91.66 | 83,104
dialog.tsx | 100 | 100 | 100 | 100 |
...down-menu.tsx | 92.3 | 42.85 | 71.42 | 92.3 | 79,98
form.tsx | 97.29 | 90 | 100 | 97.29 | 43
hover-card.tsx | 100 | 100 | 100 | 100 |
input.tsx | 100 | 100 | 100 | 100 |
label.tsx | 100 | 100 | 100 | 100 |
popover.tsx | 100 | 100 | 100 | 100 |
progress.tsx | 100 | 100 | 100 | 100 |
scroll-area.tsx | 100 | 80 | 100 | 100 | 30
select.tsx | 95.83 | 100 | 85.71 | 95.83 | 128
separator.tsx | 100 | 75 | 100 | 100 | 16
sheet.tsx | 86.95 | 100 | 50 | 86.95 | 73,78,94
skeleton.tsx | 100 | 100 | 100 | 100 |
sonner.tsx | 0 | 0 | 0 | 0 | 9-11
switch.tsx | 100 | 100 | 100 | 100 |
table.tsx | 91.66 | 100 | 75 | 91.66 | 28,67
tabs.tsx | 0 | 100 | 0 | 0 | 8-53
textarea.tsx | 100 | 100 | 100 | 100 |
...nents/workflow | 83.63 | 81.48 | 78.57 | 88.54 |
...ed-banner.tsx | 86.36 | 74.54 | 90 | 94.59 | 45,135
...lifecycle.tsx | 81.81 | 88.67 | 72.22 | 84.74 | 57,60,63,255-261
...ents/workflows | 15.38 | 15.32 | 12.12 | 16 |
dsl-editor.tsx | 63.15 | 61.76 | 50 | 64.86 | 41-46,51,79-88
...l-builder.tsx | 0 | 0 | 0 | 0 | 70-406
hooks | 64.06 | 43.05 | 62.76 | 64.15 |
use-ai-chat.ts | 84.21 | 50 | 75 | 88.88 | 18-21,85
...ai-prompts.ts | 100 | 75 | 100 | 100 | 107,117-175
use-ai-status.ts | 18.18 | 7.14 | 9.09 | 21.42 | 17-25,41-82
...audit-logs.ts | 0 | 100 | 0 | 0 | 5-13
...irculation.ts | 44.44 | 0 | 50 | 44.44 | 7,16-26
...espondence.ts | 51.28 | 10 | 49.05 | 51.28 | 81,98-117,136-224
use-dashboard.ts | 100 | 100 | 100 | 100 |
...delegation.ts | 100 | 100 | 100 | 100 |
...n-matrices.ts | 0 | 0 | 0 | 0 | 47-98
use-drawing.ts | 63.15 | 54.16 | 62.5 | 62.96 | ...05,124,141-179
...aster-data.ts | 100 | 61.53 | 100 | 100 | 39-72,98-99
...ion-review.ts | 0 | 0 | 0 | 0 | 20-101
...tification.ts | 0 | 100 | 0 | 0 | 5-28
use-numbering.ts | 100 | 100 | 100 | 100 |
use-projects.ts | 100 | 100 | 100 | 100 |
...rence-data.ts | 0 | 0 | 0 | 0 | 10-118
use-reminder.ts | 0 | 100 | 0 | 0 | 45-126
...onse-codes.ts | 0 | 0 | 0 | 0 | 6-41
...view-teams.ts | 100 | 50 | 100 | 100 | 27
use-rfa.ts | 78.37 | 100 | 80 | 78.37 | 41-52,87
use-search.ts | 0 | 0 | 0 | 0 | 5-23
...anslations.ts | 0 | 100 | 0 | 0 | 9-12
...ransmittal.ts | 100 | 100 | 100 | 100 |
use-users.ts | 100 | 100 | 100 | 100 |
...low-action.ts | 90.47 | 74.19 | 100 | 90.24 | 77-80,97,107
...ow-history.ts | 100 | 100 | 100 | 100 |
use-workflows.ts | 100 | 100 | 100 | 100 |
hooks/ai | 44.11 | 100 | 48.14 | 44.11 |
...sification.ts | 44.11 | 100 | 48.14 | 44.11 | 72-122
lib | 6.66 | 0 | 23.07 | 6.94 |
auth.ts | 0 | 0 | 0 | 0 | 9-232
test-utils.tsx | 66.66 | 100 | 66.66 | 66.66 | 33-34
utils.ts | 100 | 100 | 100 | 100 |
lib/api | 18.77 | 23.12 | 5.2 | 21.14 |
admin.ts | 0 | 0 | 0 | 0 | 4-111
ai.ts | 0 | 0 | 0 | 0 | 9-222
client.ts | 81.35 | 72.54 | 62.5 | 82.45 | 70-87,177
dashboard.ts | 0 | 100 | 0 | 0 | 8-53
drawings.ts | 0 | 100 | 0 | 0 | 4-41
files.ts | 14.28 | 100 | 0 | 16.66 | 15-24
notifications.ts | 0 | 0 | 0 | 0 | 4-49
numbering.ts | 0 | 0 | 0 | 0 | 124-343
workflows.ts | 0 | 0 | 0 | 0 | 4-86
lib/i18n | 100 | 100 | 100 | 100 |
index.ts | 100 | 100 | 100 | 100 |
lib/services | 70.06 | 65.93 | 70.19 | 69.3 |
...ai.service.ts | 6.38 | 0 | 2.77 | 6.38 | ...84-191,209-459
...nt.service.ts | 0 | 0 | 0 | 0 | 9-229
...ts.service.ts | 0 | 0 | 0 | 0 | 9-76
ai.service.ts | 100 | 100 | 100 | 100 |
...ng.service.ts | 100 | 100 | 100 | 100 |
...og.service.ts | 100 | 100 | 100 | 100 |
...on.service.ts | 100 | 100 | 100 | 100 |
...ng.service.ts | 100 | 100 | 100 | 100 |
...ct.service.ts | 100 | 100 | 100 | 100 |
...ce.service.ts | 61.29 | 100 | 60 | 61.29 | ...2,67-68,90-115
...rd.service.ts | 100 | 89.13 | 100 | 100 | 68,80-82
...ng.service.ts | 100 | 100 | 100 | 100 |
...ta.service.ts | 100 | 82.35 | 100 | 100 | 117-149
index.ts | 0 | 0 | 0 | 0 |
...ma.service.ts | 0 | 100 | 0 | 0 | 5-69
...ta.service.ts | 84.5 | 71.42 | 88.23 | 82.81 | ...46-147,226-241
...on.service.ts | 88.23 | 59.45 | 100 | 87.87 | 29,67-77
...ng.service.ts | 0 | 100 | 0 | 0 | 9-25
...on.service.ts | 0 | 100 | 0 | 0 | 4-19
...on.service.ts | 100 | 100 | 100 | 100 |
...ct.service.ts | 100 | 100 | 100 | 100 |
...am.service.ts | 100 | 100 | 100 | 100 |
rfa.service.ts | 100 | 100 | 100 | 100 |
...ch.service.ts | 100 | 100 | 100 | 100 |
...on.service.ts | 94.11 | 81.81 | 100 | 93.33 | 32
...ng.service.ts | 100 | 100 | 100 | 100 |
...al.service.ts | 100 | 100 | 100 | 100 |
user.service.ts | 96.15 | 80 | 100 | 96 | 27
...ne.service.ts | 96.72 | 66.17 | 100 | 96.49 | 51,62
lib/stores | 100 | 100 | 100 | 100 |
auth-store.ts | 100 | 100 | 100 | 100 |
draft-store.ts | 100 | 100 | 100 | 100 |
project-store.ts | 100 | 100 | 100 | 100 |
ui-store.ts | 100 | 100 | 100 | 100 |
lib/utils | 100 | 100 | 100 | 100 |
uuid-guard.ts | 100 | 100 | 100 | 100 |
-------------------|---------|----------|---------|---------|-------------------