style: align multiline ternary operators
This commit is contained in:
@@ -64,13 +64,13 @@ async function check(name, overrides = {}, signal) {
|
||||
'user database must be untouched',
|
||||
);
|
||||
const expected =
|
||||
signal === 'SIGINT' ?
|
||||
130 :
|
||||
signal === 'SIGTERM' ?
|
||||
143 :
|
||||
overrides.PRISMA_SCHEMA_ENGINE_BINARY ?
|
||||
1 :
|
||||
0;
|
||||
signal === 'SIGINT'
|
||||
? 130
|
||||
: signal === 'SIGTERM'
|
||||
? 143
|
||||
: overrides.PRISMA_SCHEMA_ENGINE_BINARY
|
||||
? 1
|
||||
: 0;
|
||||
assert.equal(code, expected, `See ${name}.log`);
|
||||
console.log(`PASS ${name}: ${dirs.length} isolated databases`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user