complete rewrite to simplify #13
Annotations
10 errors
🏃 Run tests:
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
|
🏃 Run tests:
src/LocaleHelper/LocaleHelper.spec.ts#L32
TypeError: l.getObject is not a function
❯ src/LocaleHelper/LocaleHelper.spec.ts:32:14
|
🏃 Run tests:
src/LocaleHelper/LocaleHelper.spec.ts#L39
TypeError: l.getObject is not a function
❯ src/LocaleHelper/LocaleHelper.spec.ts:39:14
|
🏃 Run tests:
src/LocaleHelper/LocaleHelper.spec.ts#L46
TypeError: l.getObject is not a function
❯ src/LocaleHelper/LocaleHelper.spec.ts:46:14
|
🏃 Run tests:
src/LocaleHelper/LocaleHelper.spec.ts#L53
TypeError: l.getObject is not a function
❯ src/LocaleHelper/LocaleHelper.spec.ts:53:14
|
🏃 Run tests:
src/LocaleHelper/LocaleHelper.spec.ts#L60
TypeError: l.getObject is not a function
❯ src/LocaleHelper/LocaleHelper.spec.ts:60:14
|
🏃 Run tests:
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 tests:
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
|
🏃 Run tests:
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 tests:
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
|
Loading