fix(test): Make snapshot tests useful #179
Annotations
2 errors and 11 warnings
Typecheck files:
src/__tests__/common.test.tsx#L7
Type '{ mode: "single"; today: Date; }' is not assignable to type 'IntrinsicAttributes & (DatePickerSingleProps | DatePickerRangeProps | DatePickeMultipleProps)'.
|
Typecheck files
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint files:
src/DateTimePicker.tsx#L127
'date' is already declared in the upper scope on line 76 column 5
|
Lint files:
src/DateTimePicker.tsx#L134
'startDate' is already declared in the upper scope on line 77 column 5
|
Lint files:
src/DateTimePicker.tsx#L134
'endDate' is already declared in the upper scope on line 78 column 5
|
Lint files:
src/DateTimePicker.tsx#L141
'dates' is already declared in the upper scope on line 79 column 5
|
Lint files:
src/DateTimePicker.tsx#L185
'date' is already declared in the upper scope on line 76 column 5
|
Lint files:
src/components/Day.tsx#L84
Empty components are self-closing
|
Lint files:
src/components/Day.tsx#L90
Empty components are self-closing
|
Lint files:
src/components/Day.tsx#L93
Inline style: { left: '50%' }
|
Lint files:
src/components/Day.tsx#L102
Empty components are self-closing
|
Lint files:
src/components/Day.tsx#L105
Inline style: { right: '50%' }
|
The logs for this run have expired and are no longer available.
Loading