style: align multiline ternary operators
This commit is contained in:
@@ -296,9 +296,9 @@ describe('saved payout calendars and complete forecasts (SQLite HTTP)', () => {
|
||||
.body as UpcomingEventsResourceDto;
|
||||
await portfolio([position(shareUid, '7'), position(newUid, '5')]);
|
||||
upstream.getDividends.mockImplementation((_token: string, uid: string) =>
|
||||
uid === newUid ?
|
||||
Promise.reject(new Error('new calendar unavailable')) :
|
||||
Promise.resolve([]),
|
||||
uid === newUid
|
||||
? Promise.reject(new Error('new calendar unavailable'))
|
||||
: Promise.resolve([]),
|
||||
);
|
||||
const pending = (await events(false).expect(200))
|
||||
.body as UpcomingEventsResourceDto;
|
||||
|
||||
Reference in New Issue
Block a user