Fixing issue #233 #20
Annotations
10 errors
../tests/holidays.spec.ts > date-holidays integration > isHoliday returns array when holiday exists:
tests/holidays.spec.ts#L41
AssertionError: expected { date: '2023-12-24 00:00:00', …(4) } to have property "name" with value 'Christmas Day'
Expected: "Christmas Day"
Received: "Christmas Eve"
❯ ../tests/holidays.spec.ts:41:23
|
../tests/holidays.spec.ts > date-holidays integration > isHoliday returns array when holiday exists:
tests/holidays.spec.ts#L41
AssertionError: expected { date: '2022-12-31 00:00:00', …(4) } to have property "name" with value 'New Year\'s Day'
Expected: "New Year's Day"
Received: "New Year's Eve"
❯ ../tests/holidays.spec.ts:41:23
|
../tests/holidays.spec.ts > date-holidays integration > isHoliday returns array when holiday exists:
tests/holidays.spec.ts#L38
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ ../tests/holidays.spec.ts:38:35
|
../tests/holidays.spec.ts > date-holidays integration > isHoliday returns array when holiday exists:
tests/holidays.spec.ts#L38
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ ../tests/holidays.spec.ts:38:35
|
../tests/holidays.spec.ts > date-holidays integration > correctly identifies US holidays:
tests/holidays.spec.ts#L15
AssertionError: expected [ { …(5) } ] to be falsy
- Expected:
false
+ Received:
[
{
"date": "2023-07-04 00:00:00",
"end": 2023-07-05T04:00:00.000Z,
"name": "Independence Day",
"start": 2023-07-04T04:00:00.000Z,
"type": "public",
},
]
❯ ../tests/holidays.spec.ts:15:44
|
../tests/holidays.spec.ts > date-holidays integration > correctly identifies US holidays:
tests/holidays.spec.ts#L15
AssertionError: expected [ { …(5) } ] to be falsy
- Expected:
false
+ Received:
[
{
"date": "2023-07-04 00:00:00",
"end": 2023-07-05T04:00:00.000Z,
"name": "Independence Day",
"start": 2023-07-04T04:00:00.000Z,
"type": "public",
},
]
❯ ../tests/holidays.spec.ts:15:44
|
../tests/holidays.spec.ts > date-holidays integration > correctly identifies US holidays:
tests/holidays.spec.ts#L11
AssertionError: expected false to be truthy
- Expected
+ Received
- true
+ false
❯ ../tests/holidays.spec.ts:11:39
|
../tests/Options.spec.ts > Options > fromQuery > handles empty query object:
tests/Options.spec.ts#L215
AssertionError: expected undefined to be false // Object.is equality
- Expected:
false
+ Received:
undefined
❯ ../tests/Options.spec.ts:215:36
|
../tests/Options.spec.ts > Options > fromURLSearchParams > handles empty search params:
tests/Options.spec.ts#L176
AssertionError: expected undefined to be false // Object.is equality
- Expected:
false
+ Received:
undefined
❯ ../tests/Options.spec.ts:176:36
|
../tests/Options.spec.ts > Options > round-trip serialization > maintains data integrity through serialization/deserialization:
tests/Options.spec.ts#L719
AssertionError: expected { since: '2023-01-01', …(8) } to deeply equal { since: '2023-01-01', …(6) }
- Expected
+ Received
{
+ "excludeHolidays": false,
"githubEnt": "test-ent",
"githubOrg": "test-org",
"githubTeam": "test-team",
"isDataMocked": true,
+ "locale": undefined,
"scope": "team-organization",
"since": "2023-01-01",
"until": "2023-12-31",
}
❯ ../tests/Options.spec.ts:719:37
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
results
|
8.61 KB |
sha256:5cd5c05590e126294a2dee98c36f4b1ea1995ff53b3f7e6c5f5fc8d39c546096
|
|