070959e133
landing-page-staging / Deploy landing page to staging (push) Has been skipped
landing-page-ci / Validate landing page (push) Failing after 4s
visual-baseline / Capture visual baselines (push) Has been cancelled
bake-plugin-previews / Bake plugin previews (push) Has been cancelled
21 lines
563 B
TypeScript
21 lines
563 B
TypeScript
import { describe, expect, it } from 'vitest';
|
|
|
|
import { STATUS_LABEL_KEYS, STATUS_ORDER } from '../../src/components/DesignsTab';
|
|
|
|
describe('DesignsTab status metadata', () => {
|
|
it('places awaiting_input between running and succeeded', () => {
|
|
expect(STATUS_ORDER).toEqual([
|
|
'not_started',
|
|
'running',
|
|
'awaiting_input',
|
|
'succeeded',
|
|
'failed',
|
|
'canceled',
|
|
]);
|
|
});
|
|
|
|
it('maps awaiting_input to the i18n label key', () => {
|
|
expect(STATUS_LABEL_KEYS.awaiting_input).toBe('designs.status.awaitingInput');
|
|
});
|
|
});
|