style: align multiline ternary operators
This commit is contained in:
@@ -240,9 +240,9 @@ describe('persistent ledger HTTP and cursor (SQLite)', () => {
|
||||
data: { occurredAt: new Date(observedAt.valueOf() - 1000) },
|
||||
});
|
||||
const query =
|
||||
periodKind === 'default' ?
|
||||
'' :
|
||||
`&to=${observedAt.toISOString().slice(0, 10)}${periodKind === 'today timestamp' ? 'T23:59:59.999Z' : ''}`;
|
||||
periodKind === 'default'
|
||||
? ''
|
||||
: `&to=${observedAt.toISOString().slice(0, 10)}${periodKind === 'today timestamp' ? 'T23:59:59.999Z' : ''}`;
|
||||
const page = (cursor?: string, observe = false) =>
|
||||
request(app.getHttpServer())
|
||||
.get(
|
||||
|
||||
Reference in New Issue
Block a user