fix order view&create page logic, layout, test coverage

This commit is contained in:
RustamRu
2025-03-11 23:08:08 +03:00
parent 0b9b2f4dbc
commit 47e2646fac
25 changed files with 996 additions and 414 deletions

View File

@@ -3,7 +3,9 @@ import { jest } from '@jest/globals';
jest.mock('@brojs/cli', () => ({
getConfigValue: jest.fn(() => '/api'),
getFeatures: jest.fn(() => ({
['order-view-status-polling']: { value: '3000' }
['order-view-status-polling']: { value: '3000' },
['car-img-upload']: { value: 'true' },
['order-cost']: { value: '1000' },
})),
getNavigationValue: jest.fn((navKey: string) => {
switch (navKey) {