style: align multiline ternary operators
This commit is contained in:
@@ -339,9 +339,9 @@ describe('local accounts and portfolio HTTP (SQLite)', () => {
|
||||
]);
|
||||
await put().expect(200);
|
||||
upstream.getPortfolio.mockImplementation((_token, id) =>
|
||||
id === 'second' ?
|
||||
Promise.reject(new Error('synthetic unavailable')) :
|
||||
Promise.resolve({
|
||||
id === 'second'
|
||||
? Promise.reject(new Error('synthetic unavailable'))
|
||||
: Promise.resolve({
|
||||
positions: [
|
||||
{
|
||||
instrumentUid: uid,
|
||||
|
||||
Reference in New Issue
Block a user