refactor: Use constant instead of inline string #1066
Annotations
3 errors
tests/unit/behaviour.spec.ts > It should validate various picker scenarios > Should correctly display months in multi-calendars based on the given range (#540):
tests/unit/behaviour.spec.ts#L235
AssertionError: expected 'Jan' to deeply equal 'Jul'
Expected: "Jul"
Received: "Jan"
❯ validateMonthAndYearValues tests/unit/behaviour.spec.ts:235:34
❯ tests/unit/behaviour.spec.ts:240:9
|
tests/unit/components/Datepicker.spec.ts > Logic connection > Should auto change multi calendars:
tests/unit/components/Datepicker.spec.ts#L391
AssertionError: expected +0 to deeply equal 2
- Expected
+ Received
- 2
+ 0
❯ tests/unit/components/Datepicker.spec.ts:391:40
|
SonarCloud
Process completed with exit code 1.
|