mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 19:40:34 +00:00
style(server): format the legs-only seat test
Server lint was red: lint:format found the new update_transport cases in tools-transports.test.ts unformatted.
This commit is contained in:
@@ -1764,7 +1764,10 @@ describe('update_transport: the flat keys of a legs-only update', () => {
|
||||
const trip = await makeTrip(orm, user.id);
|
||||
await withHarness(user.id, async (h) => {
|
||||
const data = await create(h, trip.id);
|
||||
const legs = [{ from: 'AMS', to: 'CDG' }, { from: 'CDG', to: 'FCO' }];
|
||||
const legs = [
|
||||
{ from: 'AMS', to: 'CDG' },
|
||||
{ from: 'CDG', to: 'FCO' },
|
||||
];
|
||||
await setMetadata(JSON.stringify({ seat: '22F', legs }), data.reservation.id);
|
||||
|
||||
await updateLegs(h, trip.id, data.reservation.id, legs);
|
||||
|
||||
Reference in New Issue
Block a user