File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments