feat: activity action plan (M2-7166) #454
Annotations
4 errors and 10 warnings
src/entities/activity/ui/items/ActionPlan/phrasalData.test.ts > Action Plan > extractActivitiesPhrasalData > should extract data from `date` activity type:
src/entities/activity/ui/items/ActionPlan/phrasalData.test.ts#L97
AssertionError: expected { type: 'array', …(2) } to have property "values.0" with value '2024-09-06'
- Expected
+ Received
- 2024-09-06
+ 9/6/2024
❯ src/entities/activity/ui/items/ActionPlan/phrasalData.test.ts:97:25
|
src/entities/activity/ui/items/ActionPlan/phrasalData.test.ts > Action Plan > extractActivitiesPhrasalData > should extract data from `time` activity type:
src/entities/activity/ui/items/ActionPlan/phrasalData.test.ts#L108
AssertionError: expected { type: 'array', …(2) } to have property "values.0" with value StringContaining "12:05:00"
❯ src/entities/activity/ui/items/ActionPlan/phrasalData.test.ts:108:25
|
src/entities/activity/ui/items/ActionPlan/phrasalData.test.ts > Action Plan > extractActivitiesPhrasalData > should extract data from `timeRange` activity type:
src/entities/activity/ui/items/ActionPlan/phrasalData.test.ts#L122
AssertionError: expected { type: 'array', …(2) } to have property "values.0" with value StringContaining "12:05:00"
❯ src/entities/activity/ui/items/ActionPlan/phrasalData.test.ts:122:25
|
tests
Process completed with exit code 1.
|
Lint:
src/app/App.tsx#L18
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
Lint:
src/entities/activity/api/fetchActivityById.ts#L18
Unexpected console statement
|
Lint:
src/features/PassSurvey/model/AlertsExtractor.ts#L211
Forbidden non-null assertion
|
Lint:
src/features/TakeNow/ui/ValidateTakeNowParams.tsx#L82
React Hook useEffect has missing dependencies: 'logout' and 'navigate'. Either include them or remove the dependency array
|
Lint:
src/widgets/AutoCompletion/lib/useAutoCompletion.ts#L96
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
Lint:
src/widgets/InactivityTracker/lib/useIdleTimer.ts#L31
Unexpected console statement
|
Lint:
src/widgets/InactivityTracker/lib/useIdleTimer.ts#L42
Unexpected console statement
|
Lint:
src/widgets/LoginWithRedirect/index.tsx#L24
React Hook useEffect has missing dependencies: 'location.pathname' and 'location.search'. Either include them or remove the dependency array
|
Lint:
src/widgets/Survey/model/hooks/useEntityTimer.ts#L72
Unexpected console statement
|
Lint:
src/widgets/Survey/model/hooks/useEntityTimer.ts#L81
Unexpected console statement
|