Some checks failed
ci / Validate workspace (push) Successful in 12m32s
landing-page-ci / Validate landing page (push) Successful in 9m41s
landing-page-deploy / Deploy landing page (push) Failing after 5m23s
github-metrics / Generate repository metrics SVG (push) Failing after 2m3s
refresh-contributors-wall / Refresh contributors wall cache bust (push) Failing after 11s
This repository contains the open-design daemon CLI source code, built and packaged at https://helix-mind.ai/cli/open-design/latest.tgz for use by the HelixMind /design slash command. Licenses: Apache-2.0 (root) + MIT (skills/*)
21 lines
583 B
TypeScript
21 lines
583 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');
|
|
});
|
|
});
|