Deploy Canina / deploy (push) Successful in 2m1s
Preserve bounded command safety and snapshot provenance; render structured Persian records without translating human evidence. Validated app/node TypeScript, Vite build and 394 tests across 64 files in private Node 22 runner.
11 lines
643 B
TypeScript
11 lines
643 B
TypeScript
import {render,screen} from '@testing-library/react';
|
|
import {expect,it} from 'vitest';
|
|
import {Records} from './OrchestrationPresentation';
|
|
it('preserves human scope, criteria and immutable identifiers while translating protocol enums',()=>{
|
|
render(<Records value={{metadata:{scope:'READY',acceptanceCriteria:['SUCCEEDED'],commitSha:'READY'},operationMode:'PREPARE',status:'SUCCEEDED'}}/>);
|
|
expect(screen.getAllByText('READY')).toHaveLength(2);
|
|
expect(screen.getByText('SUCCEEDED')).toBeInTheDocument();
|
|
expect(screen.getByText('آمادهسازی')).toBeInTheDocument();
|
|
expect(screen.getByText('موفق')).toBeInTheDocument();
|
|
});
|