Skip to content
Triggered via pull request October 26, 2024 22:56
@imbrianjimbrianj
synchronize #9
geo
Status Failure
Total duration 16s
Artifacts

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
src/__tests__/geo.test.js > Daylight Savings > should correctly be determined if the time given is or is not within daylight savings time: src/__tests__/geo.test.js#L171
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ src/__tests__/geo.test.js:171:51
src/__tests__/geo.test.js > Errs on the side of caution, minimizing the given time options to the more narrow > Late at night, the available options for morning should be later: src/__tests__/geo.test.js#L192
AssertionError: expected '-8:00' to be '-7:00' // Object.is equality Expected: "-7:00" Received: "-8:00" ❯ src/__tests__/geo.test.js:192:7
src/__tests__/geo.test.js > Errs on the side of caution, minimizing the given time options to the more narrow > Early in day, the available options for morning should be earlier: src/__tests__/geo.test.js#L201
AssertionError: expected '-7:00' to be '-8:00' // Object.is equality Expected: "-8:00" Received: "-7:00" ❯ src/__tests__/geo.test.js:201:7
src/__tests__/geo.test.js > Provides general time information for the given phone number (US and Canada only) > Returns general time information for a phone number region: src/__tests__/geo.test.js#L282
AssertionError: expected { timezoneOffset: '-08:00', …(10) } to deeply equal { …(11) } - Expected + Received Object { "areaCodeHasMultipleTimezones": false, - "daylightSavings": true, + "daylightSavings": false, "estimatedTime": false, - "isQuietHours": false, - "isTCPAQuietHours": false, - "localTime24Hour": "08:00:00", - "localTimeReadable": "8:00:00 AM", + "isQuietHours": true, + "isTCPAQuietHours": true, + "localTime24Hour": "07:00:00", + "localTimeReadable": "7:00:00 AM", "region": Object { "code": "US", "flag": "🇺🇸", "name": "United States", }, "state": Object { "code": "WA", "name": "Washington", }, "stateHasMultipleTimezones": false, - "timezoneOffset": "-07:00", + "timezoneOffset": "-08:00", } ❯ src/__tests__/geo.test.js:282:7
Test
Process completed with exit code 1.