Skip to content

complete rewrite to simplify #13

complete rewrite to simplify

complete rewrite to simplify #13

Triggered via push October 12, 2024 22:59
Status Failure
Total duration 29s
Artifacts

workflow.yml

on: push
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

32 errors
src/main.spec.ts: src/LocaleHelper/LocaleHelper.ts#L82
TypeError: Cannot read properties of undefined (reading 'length') ❯ LocaleHelper.toInt src/LocaleHelper/LocaleHelper.ts:82:37 ❯ PatternMatcher.format [as formatter] src/PatternMatcher/getMatcher.ts:84:31 ❯ PatternMatcher.attempt src/PatternMatcher/PatternMatcher.ts:58:28 ❯ Object.attempt src/main.ts:7:18 ❯ testIt test-fixtures/testBuiltInFormats.ts:22:29 ❯ test-fixtures/testBuiltInFormats.ts:40:9
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from numbers: src/LocaleHelper/LocaleHelper.spec.ts#L32
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:32:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from month name: src/LocaleHelper/LocaleHelper.spec.ts#L39
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:39:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from short month name: src/LocaleHelper/LocaleHelper.spec.ts#L46
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:46:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from short month name with period: src/LocaleHelper/LocaleHelper.spec.ts#L53
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:53:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from "deva" numbers: src/LocaleHelper/LocaleHelper.spec.ts#L60
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:60:14
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03/03 (dd/MM): test-fixtures/testDates.ts#L22
AssertionError: expected { day: 3 } to match object { month: 3, day: 3 } - Expected + Received Object { "day": 3, - "month": 3, } ❯ test-fixtures/testDates.ts:22:26
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03.03 (dd.MM): test-fixtures/testDates.ts#L22
AssertionError: expected { hour: 3, minute: 3 } to match object { month: 3, day: 3 } (2 matching properties omitted from actual) - Expected + Received Object { - "day": 3, - "month": 3, + "hour": 3, + "minute": 3, } ❯ test-fixtures/testDates.ts:22:26
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03/3 (dd/M): test-fixtures/testDates.ts#L22
AssertionError: expected { day: 3 } to match object { month: 3, day: 3 } - Expected + Received Object { "day": 3, - "month": 3, } ❯ test-fixtures/testDates.ts:22:26
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03.3 (dd.M): test-fixtures/testDates.ts#L22
AssertionError: expected { day: 3 } to match object { month: 3, day: 3 } - Expected + Received Object { "day": 3, - "month": 3, } ❯ test-fixtures/testDates.ts:22:26
run (18.x)
The job was canceled because "_20_x" failed.
src/main.spec.ts: src/LocaleHelper/LocaleHelper.ts#L82
TypeError: Cannot read properties of undefined (reading 'length') ❯ LocaleHelper.toInt src/LocaleHelper/LocaleHelper.ts:82:37 ❯ PatternMatcher.format [as formatter] src/PatternMatcher/getMatcher.ts:84:31 ❯ PatternMatcher.attempt src/PatternMatcher/PatternMatcher.ts:58:28 ❯ Object.attempt src/main.ts:7:18 ❯ testIt test-fixtures/testBuiltInFormats.ts:22:29 ❯ test-fixtures/testBuiltInFormats.ts:40:9
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from numbers: src/LocaleHelper/LocaleHelper.spec.ts#L32
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:32:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from month name: src/LocaleHelper/LocaleHelper.spec.ts#L39
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:39:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from short month name: src/LocaleHelper/LocaleHelper.spec.ts#L46
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:46:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from short month name with period: src/LocaleHelper/LocaleHelper.spec.ts#L53
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:53:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from "deva" numbers: src/LocaleHelper/LocaleHelper.spec.ts#L60
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:60:14
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03/03 (dd/MM): test-fixtures/testDates.ts#L22
AssertionError: expected { day: 3 } to match object { month: 3, day: 3 } - Expected + Received Object { "day": 3, - "month": 3, } ❯ test-fixtures/testDates.ts:22:26
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03.03 (dd.MM): test-fixtures/testDates.ts#L22
AssertionError: expected { hour: 3, minute: 3 } to match object { month: 3, day: 3 } (2 matching properties omitted from actual) - Expected + Received Object { - "day": 3, - "month": 3, + "hour": 3, + "minute": 3, } ❯ test-fixtures/testDates.ts:22:26
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03/3 (dd/M): test-fixtures/testDates.ts#L22
AssertionError: expected { day: 3 } to match object { month: 3, day: 3 } - Expected + Received Object { "day": 3, - "month": 3, } ❯ test-fixtures/testDates.ts:22:26
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03.3 (dd.M): test-fixtures/testDates.ts#L22
AssertionError: expected { day: 3 } to match object { month: 3, day: 3 } - Expected + Received Object { "day": 3, - "month": 3, } ❯ test-fixtures/testDates.ts:22:26
run (latest)
The job was canceled because "_20_x" failed.
src/main.spec.ts: src/LocaleHelper/LocaleHelper.ts#L82
TypeError: Cannot read properties of undefined (reading 'length') ❯ LocaleHelper.toInt src/LocaleHelper/LocaleHelper.ts:82:37 ❯ PatternMatcher.format [as formatter] src/PatternMatcher/getMatcher.ts:84:31 ❯ PatternMatcher.attempt src/PatternMatcher/PatternMatcher.ts:58:28 ❯ Object.attempt src/main.ts:7:18 ❯ testIt test-fixtures/testBuiltInFormats.ts:22:29 ❯ test-fixtures/testBuiltInFormats.ts:40:9
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from numbers: src/LocaleHelper/LocaleHelper.spec.ts#L32
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:32:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from month name: src/LocaleHelper/LocaleHelper.spec.ts#L39
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:39:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from short month name: src/LocaleHelper/LocaleHelper.spec.ts#L46
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:46:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from short month name with period: src/LocaleHelper/LocaleHelper.spec.ts#L53
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:53:14
src/LocaleHelper/LocaleHelper.spec.ts > LocaleHelper general > should build objects from "deva" numbers: src/LocaleHelper/LocaleHelper.spec.ts#L60
TypeError: l.getObject is not a function ❯ src/LocaleHelper/LocaleHelper.spec.ts:60:14
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03/03 (dd/MM): test-fixtures/testDates.ts#L22
AssertionError: expected { day: 3 } to match object { month: 3, day: 3 } - Expected + Received Object { "day": 3, - "month": 3, } ❯ test-fixtures/testDates.ts:22:26
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03.03 (dd.MM): test-fixtures/testDates.ts#L22
AssertionError: expected { hour: 3, minute: 3 } to match object { month: 3, day: 3 } (2 matching properties omitted from actual) - Expected + Received Object { - "day": 3, - "month": 3, + "hour": 3, + "minute": 3, } ❯ test-fixtures/testDates.ts:22:26
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03/3 (dd/M): test-fixtures/testDates.ts#L22
AssertionError: expected { day: 3 } to match object { month: 3, day: 3 } - Expected + Received Object { "day": 3, - "month": 3, } ❯ test-fixtures/testDates.ts:22:26
src/patterns/dayMonth.spec.ts > day month (en-US) [luxon v3.5.0] > 03.3 (dd.M): test-fixtures/testDates.ts#L22
AssertionError: expected { day: 3 } to match object { month: 3, day: 3 } - Expected + Received Object { "day": 3, - "month": 3, } ❯ test-fixtures/testDates.ts:22:26