feat: activity action plan (M2-7166) #456
Annotations
3 errors and 10 warnings
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#L107
AssertionError: expected { type: 'array', …(2) } to have property "values.0" with value '12:05:00'
- Expected
+ Received
- 12:05:00
+ 7:05:00 AM
❯ src/entities/activity/ui/items/ActionPlan/phrasalData.test.ts:107: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#L121
AssertionError: expected { type: 'array', …(2) } to have property "values.0" with value '12:05:00'
- Expected
+ Received
- 12:05:00
+ 7:05:00 AM
❯ src/entities/activity/ui/items/ActionPlan/phrasalData.test.ts:121: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#L100
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#L73
Unexpected console statement
|
Lint:
src/widgets/Survey/model/hooks/useEntityTimer.ts#L82
Unexpected console statement
|