Update all non-major dependencies #969
Annotations
5 errors
|
Run npm run test --ws:
packages/ryanair/source/airports/integration.test.ts#L80
Error: Snapshot `airports > getDestinations > when asked for destinations from a specific airport
Then should be able to retrieve data and parse it 1` mismatched
- Expected
+ Received
@@ -440,42 +440,10 @@
{
"arrivalAirport": {
"aliases": [],
"base": true,
"city": {
- "code": "CHANIA",
- "name": "Chania",
- },
- "code": "CHQ",
- "coordinates": {
- "latitude": 35.5317,
- "longitude": 24.1497,
- },
- "country": {
- "code": "gr",
- "currency": "EUR",
- "defaultAirportCode": "ATH",
- "name": "Greece",
- },
- "name": "Chania",
- "region": {
- "code": "GREEK_ISLANDS",
- "name": "Greek Islands",
- },
- "seoName": "crete",
- "timeZone": "Europe/Athens",
- },
- "operator": "FR",
- "recent": false,
- "seasonal": false,
- "tags": [],
- },
- {
- "arrivalAirport": {
- "aliases": [],
- "base": true,
- "city": {
"code": "CATANIA",
"name": "Catania",
},
"code": "CTA",
"coordinates": {
@@ -947,42 +915,10 @@
"code": "CANARY_ISLES",
"name": "Canary Isles",
},
"seoName": "gran-canaria",
"timeZone": "Atlantic/Canary",
- },
- "operator": "FR",
- "recent": false,
- "seasonal": false,
- "tags": [],
- },
- {
- "arrivalAirport": {
- "aliases": [],
- "base": false,
- "city": {
- "code": "LUXEMBOURG",
- "name": "Luxembourg",
- },
- "code": "LUX",
- "coordinates": {
- "latitude": 49.6233,
- "longitude": 6.2044,
- },
- "country": {
- "code": "lu",
- "currency": "EUR",
- "defaultAirportCode": "STN",
- "name": "Luxembourg",
- },
- "name": "Luxembourg",
- "region": {
- "code": "DEFAULT_LU",
- "name": "Default LU",
- },
- "seoName": "luxembourg",
- "timeZone": "Europe/Luxembourg",
},
"operator": "FR",
"recent": false,
"seasonal": false,
"tags": [],
❯ source/airports/integration.test.ts:80:20
|
Run npm run test --ws:
packages/ryanair/source/airports/integration.test.ts#L151
Error: Snapshot `airports > findRoutes > when asked for specific route between two airports
Then should be able to retrieve data and parse it 1` mismatched
- Expected
+ Received
@@ -24,15 +24,10 @@
"CFU",
"GDN",
],
[
"BER",
- "CHQ",
- "GDN",
- ],
- [
- "BER",
"DUB",
"GDN",
],
[
"BER",
❯ source/airports/integration.test.ts:151:20
|
Run npm run test --ws:
packages/ryanair/source/flights/getAvailable.ts#L54
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"trips",
0,
"dates",
4,
"flights",
0,
"regularFare",
"fareClass"
],
"message": "Required"
}
]
❯ Object.get error [as error] ../../node_modules/zod/lib/index.mjs:587:31
❯ ZodObject.parse ../../node_modules/zod/lib/index.mjs:663:22
❯ Module.getAvailable source/flights/getAvailable.ts:54:47
❯ source/flights/integration.test.ts:67:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'trips', +0, 'dates', 4, 'flights', +0, 'regularFare', 'fareClass' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'trips', +0, 'dates', 4, 'flights', +0, 'regularFare', 'fareClass' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { trips: [ 'Required' ] } } }
|
Run npm run test --ws
Process completed with exit code 1.
|
Loading