fuzzy all working #7
Annotations
32 errors
src/fromString/fromString.spec.ts > fromString with invalid date > should consider NaN invalid:
src/Parser/Parser.ts#L73
TypeError: dateStr.trim is not a function
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:113:27
|
src/fromString/fromString.spec.ts > fromString with invalid date > should consider a Number invalid:
src/Parser/Parser.ts#L73
TypeError: dateStr.trim is not a function
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:119:27
|
src/fromString/fromString.spec.ts > fromString with invalid date > should consider undefined invalid:
src/Parser/Parser.ts#L73
TypeError: Cannot read properties of undefined (reading 'trim')
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:124:27
|
src/fromString/fromString.spec.ts > fromString with invalid date > should consider an object invalid:
src/Parser/Parser.ts#L73
TypeError: dateStr.trim is not a function
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:130:27
|
src/formats/fuzzy/fuzzy.spec.ts > fuzzy > should default ignore filler text 3:
src/formats/fuzzy/fuzzy.spec.ts#L20
AssertionError: expected { year: 1929, month: 3, day: 29 } to deeply equal { year: 1929, month: 10, day: 29 }
- Expected
+ Received
Object {
"day": 29,
- "month": 10,
+ "month": 3,
"year": 1929,
}
❯ src/formats/fuzzy/fuzzy.spec.ts:20:20
|
src/formats/time24Hours/time24Hours.spec.ts > 24 hour time with GMT hours (en-US) [luxon v3.5.0] > 2020-10-06T17:41:28 GMT-9 (yyyy-MM-dd'T'HH:mm:ss 'GMT-9'):
test-fixtures/testDates.ts#L18
AssertionError: expected { year: 2020, month: 10, day: 9, …(4) } to match object { year: 2020, month: 10, day: 6, …(4) }
- Expected
+ Received
Object {
- "day": 6,
+ "day": 9,
"hour": 17,
"minute": 41,
"month": 10,
- "offset": -540,
+ "offset": 0,
"second": 28,
"year": 2020,
}
❯ test-fixtures/testDates.ts:18:26
|
src/formats/time24Hours/time24Hours.spec.ts > 24 hour time with zone +hoursminutes (en-US) [luxon v3.5.0] > 2020-10-06T17:41:28+0900 (yyyy-MM-dd'T'HH:mm:ss'+0900'):
test-fixtures/testDates.ts#L18
AssertionError: expected { year: 2020, month: 10, day: 6, …(3) } to match object { year: 2020, month: 10, day: 6, …(4) }
- Expected
+ Received
Object {
"day": 6,
"hour": 17,
"minute": 41,
"month": 10,
- "offset": 540,
"second": 28,
"year": 2020,
}
❯ test-fixtures/testDates.ts:18:26
|
src/formats/twitter/twitter.spec.ts > twitter time > should handle "Fri Apr 09 12:53:54 +0000 2010":
src/formats/twitter/twitter.spec.ts#L16
AssertionError: expected { year: undefined, month: 4, …(4) } to deeply equal { month: 4, day: 9, hour: 12, …(4) }
- Expected
+ Received
Object {
"day": 9,
"hour": 12,
"minute": 53,
"month": 4,
- "offset": 0,
"second": 54,
- "year": 2010,
+ "year": undefined,
}
❯ src/formats/twitter/twitter.spec.ts:16:20
|
src/formats/twitter/twitter.spec.ts > twitter time > should handle "Fri Apr 16 22:53:54 -0130 2017":
src/formats/twitter/twitter.spec.ts#L29
AssertionError: expected { year: 130, month: 4, day: 16, …(3) } to deeply equal { month: 4, day: 16, hour: 22, …(4) }
- Expected
+ Received
Object {
"day": 16,
"hour": 22,
"minute": 53,
"month": 4,
- "offset": -90,
"second": 54,
- "year": 2017,
+ "year": 130,
}
❯ src/formats/twitter/twitter.spec.ts:29:20
|
src/formats/yearMonthDay/yearMonthDay.spec.ts > year month day (en-US) [luxon v3.5.0] > 20160924 (yyyyMMdd):
test-fixtures/testDates.ts#L18
AssertionError: expected { year: 2016 } to match object { year: 2016, month: 9, day: 24 }
- Expected
+ Received
Object {
- "day": 24,
- "month": 9,
"year": 2016,
}
❯ test-fixtures/testDates.ts:18:26
|
run (18.x)
The job was canceled because "_20_x" failed.
|
src/fromString/fromString.spec.ts > fromString with invalid date > should consider NaN invalid:
src/Parser/Parser.ts#L73
TypeError: dateStr.trim is not a function
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:113:27
|
src/fromString/fromString.spec.ts > fromString with invalid date > should consider a Number invalid:
src/Parser/Parser.ts#L73
TypeError: dateStr.trim is not a function
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:119:27
|
src/fromString/fromString.spec.ts > fromString with invalid date > should consider undefined invalid:
src/Parser/Parser.ts#L73
TypeError: Cannot read properties of undefined (reading 'trim')
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:124:27
|
src/fromString/fromString.spec.ts > fromString with invalid date > should consider an object invalid:
src/Parser/Parser.ts#L73
TypeError: dateStr.trim is not a function
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:130:27
|
src/formats/fuzzy/fuzzy.spec.ts > fuzzy > should default ignore filler text 3:
src/formats/fuzzy/fuzzy.spec.ts#L20
AssertionError: expected { year: 1929, month: 3, day: 29 } to deeply equal { year: 1929, month: 10, day: 29 }
- Expected
+ Received
Object {
"day": 29,
- "month": 10,
+ "month": 3,
"year": 1929,
}
❯ src/formats/fuzzy/fuzzy.spec.ts:20:20
|
src/formats/time24Hours/time24Hours.spec.ts > 24 hour time with GMT hours (en-US) [luxon v3.5.0] > 2020-10-06T17:41:28 GMT-9 (yyyy-MM-dd'T'HH:mm:ss 'GMT-9'):
test-fixtures/testDates.ts#L18
AssertionError: expected { year: 2020, month: 10, day: 9, …(4) } to match object { year: 2020, month: 10, day: 6, …(4) }
- Expected
+ Received
Object {
- "day": 6,
+ "day": 9,
"hour": 17,
"minute": 41,
"month": 10,
- "offset": -540,
+ "offset": 0,
"second": 28,
"year": 2020,
}
❯ test-fixtures/testDates.ts:18:26
|
src/formats/time24Hours/time24Hours.spec.ts > 24 hour time with zone +hoursminutes (en-US) [luxon v3.5.0] > 2020-10-06T17:41:28+0900 (yyyy-MM-dd'T'HH:mm:ss'+0900'):
test-fixtures/testDates.ts#L18
AssertionError: expected { year: 2020, month: 10, day: 6, …(3) } to match object { year: 2020, month: 10, day: 6, …(4) }
- Expected
+ Received
Object {
"day": 6,
"hour": 17,
"minute": 41,
"month": 10,
- "offset": 540,
"second": 28,
"year": 2020,
}
❯ test-fixtures/testDates.ts:18:26
|
src/formats/twitter/twitter.spec.ts > twitter time > should handle "Fri Apr 09 12:53:54 +0000 2010":
src/formats/twitter/twitter.spec.ts#L16
AssertionError: expected { year: undefined, month: 4, …(4) } to deeply equal { month: 4, day: 9, hour: 12, …(4) }
- Expected
+ Received
Object {
"day": 9,
"hour": 12,
"minute": 53,
"month": 4,
- "offset": 0,
"second": 54,
- "year": 2010,
+ "year": undefined,
}
❯ src/formats/twitter/twitter.spec.ts:16:20
|
src/formats/twitter/twitter.spec.ts > twitter time > should handle "Fri Apr 16 22:53:54 -0130 2017":
src/formats/twitter/twitter.spec.ts#L29
AssertionError: expected { year: 130, month: 4, day: 16, …(3) } to deeply equal { month: 4, day: 16, hour: 22, …(4) }
- Expected
+ Received
Object {
"day": 16,
"hour": 22,
"minute": 53,
"month": 4,
- "offset": -90,
"second": 54,
- "year": 2017,
+ "year": 130,
}
❯ src/formats/twitter/twitter.spec.ts:29:20
|
src/formats/yearMonthDay/yearMonthDay.spec.ts > year month day (en-US) [luxon v3.5.0] > 20160924 (yyyyMMdd):
test-fixtures/testDates.ts#L18
AssertionError: expected { year: 2016 } to match object { year: 2016, month: 9, day: 24 }
- Expected
+ Received
Object {
- "day": 24,
- "month": 9,
"year": 2016,
}
❯ test-fixtures/testDates.ts:18:26
|
run (latest)
The job was canceled because "_20_x" failed.
|
src/fromString/fromString.spec.ts > fromString with invalid date > should consider NaN invalid:
src/Parser/Parser.ts#L73
TypeError: dateStr.trim is not a function
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:113:27
|
src/fromString/fromString.spec.ts > fromString with invalid date > should consider a Number invalid:
src/Parser/Parser.ts#L73
TypeError: dateStr.trim is not a function
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:119:27
|
src/fromString/fromString.spec.ts > fromString with invalid date > should consider undefined invalid:
src/Parser/Parser.ts#L73
TypeError: Cannot read properties of undefined (reading 'trim')
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:124:27
|
src/fromString/fromString.spec.ts > fromString with invalid date > should consider an object invalid:
src/Parser/Parser.ts#L73
TypeError: dateStr.trim is not a function
❯ Parser.attempt src/Parser/Parser.ts:73:23
❯ Parser.fromStringFunction [as fromString] src/fromString/fromString.ts:10:27
❯ src/fromString/fromString.spec.ts:130:27
|
src/formats/fuzzy/fuzzy.spec.ts > fuzzy > should default ignore filler text 3:
src/formats/fuzzy/fuzzy.spec.ts#L20
AssertionError: expected { year: 1929, month: 3, day: 29 } to deeply equal { year: 1929, month: 10, day: 29 }
- Expected
+ Received
Object {
"day": 29,
- "month": 10,
+ "month": 3,
"year": 1929,
}
❯ src/formats/fuzzy/fuzzy.spec.ts:20:20
|
src/formats/time24Hours/time24Hours.spec.ts > 24 hour time with GMT hours (en-US) [luxon v3.5.0] > 2020-10-06T17:41:28 GMT-9 (yyyy-MM-dd'T'HH:mm:ss 'GMT-9'):
test-fixtures/testDates.ts#L18
AssertionError: expected { year: 2020, month: 10, day: 9, …(4) } to match object { year: 2020, month: 10, day: 6, …(4) }
- Expected
+ Received
Object {
- "day": 6,
+ "day": 9,
"hour": 17,
"minute": 41,
"month": 10,
- "offset": -540,
+ "offset": 0,
"second": 28,
"year": 2020,
}
❯ test-fixtures/testDates.ts:18:26
|
src/formats/time24Hours/time24Hours.spec.ts > 24 hour time with zone +hoursminutes (en-US) [luxon v3.5.0] > 2020-10-06T17:41:28+0900 (yyyy-MM-dd'T'HH:mm:ss'+0900'):
test-fixtures/testDates.ts#L18
AssertionError: expected { year: 2020, month: 10, day: 6, …(3) } to match object { year: 2020, month: 10, day: 6, …(4) }
- Expected
+ Received
Object {
"day": 6,
"hour": 17,
"minute": 41,
"month": 10,
- "offset": 540,
"second": 28,
"year": 2020,
}
❯ test-fixtures/testDates.ts:18:26
|
src/formats/twitter/twitter.spec.ts > twitter time > should handle "Fri Apr 09 12:53:54 +0000 2010":
src/formats/twitter/twitter.spec.ts#L16
AssertionError: expected { year: undefined, month: 4, …(4) } to deeply equal { month: 4, day: 9, hour: 12, …(4) }
- Expected
+ Received
Object {
"day": 9,
"hour": 12,
"minute": 53,
"month": 4,
- "offset": 0,
"second": 54,
- "year": 2010,
+ "year": undefined,
}
❯ src/formats/twitter/twitter.spec.ts:16:20
|
src/formats/twitter/twitter.spec.ts > twitter time > should handle "Fri Apr 16 22:53:54 -0130 2017":
src/formats/twitter/twitter.spec.ts#L29
AssertionError: expected { year: 130, month: 4, day: 16, …(3) } to deeply equal { month: 4, day: 16, hour: 22, …(4) }
- Expected
+ Received
Object {
"day": 16,
"hour": 22,
"minute": 53,
"month": 4,
- "offset": -90,
"second": 54,
- "year": 2017,
+ "year": 130,
}
❯ src/formats/twitter/twitter.spec.ts:29:20
|
src/formats/yearMonthDay/yearMonthDay.spec.ts > year month day (en-US) [luxon v3.5.0] > 20160924 (yyyyMMdd):
test-fixtures/testDates.ts#L18
AssertionError: expected { year: 2016 } to match object { year: 2016, month: 9, day: 24 }
- Expected
+ Received
Object {
- "day": 24,
- "month": 9,
"year": 2016,
}
❯ test-fixtures/testDates.ts:18:26
|