Skip to content

Commit aed4f67

Browse files
Jake BrombergAyBruno
authored andcommitted
style: format files with Prettier
1 parent 013e39a commit aed4f67

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/unit/database/schema.show-djs.test.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ describe('show_djs schema', () => {
66
const config = getTableConfig(show_djs);
77
const uniqueIndexes = config.indexes.filter((idx) => idx.config.unique);
88

9-
const showDjIndex = uniqueIndexes.find((idx) =>
10-
idx.config.columns.length === 2 &&
11-
idx.config.columns.some((col) => 'name' in col && col.name === 'show_id') &&
12-
idx.config.columns.some((col) => 'name' in col && col.name === 'dj_id')
9+
const showDjIndex = uniqueIndexes.find(
10+
(idx) =>
11+
idx.config.columns.length === 2 &&
12+
idx.config.columns.some((col) => 'name' in col && col.name === 'show_id') &&
13+
idx.config.columns.some((col) => 'name' in col && col.name === 'dj_id')
1314
);
1415

1516
expect(showDjIndex).toBeDefined();

0 commit comments

Comments
 (0)