File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1877,18 +1877,18 @@ describe(`Query Collections`, () => {
18771877
18781878 function TestComponent ( ) {
18791879 const query = useLiveQuery ( ( q ) =>
1880- q
1881- . from ( { persons : collection } )
1882- . select ( ( { persons } ) => ( {
1883- id : persons . id ,
1884- name : persons . name ,
1885- } ) ) ,
1880+ q . from ( { persons : collection } ) . select ( ( { persons } ) => ( {
1881+ id : persons . id ,
1882+ name : persons . name ,
1883+ } ) ) ,
18861884 )
18871885
18881886 return (
18891887 < ul data-testid = "list" >
18901888 < For each = { query ( ) } >
1891- { ( person ) => < li data-testid = { `person-${ person . id } ` } > { person . name } </ li > }
1889+ { ( person ) => (
1890+ < li data-testid = { `person-${ person . id } ` } > { person . name } </ li >
1891+ ) }
18921892 </ For >
18931893 </ ul >
18941894 )
@@ -1928,12 +1928,10 @@ describe(`Query Collections`, () => {
19281928
19291929 function TestComponent ( ) {
19301930 const query = useLiveQuery ( ( q ) =>
1931- q
1932- . from ( { persons : collection } )
1933- . select ( ( { persons } ) => ( {
1934- id : persons . id ,
1935- name : persons . name ,
1936- } ) ) ,
1931+ q . from ( { persons : collection } ) . select ( ( { persons } ) => ( {
1932+ id : persons . id ,
1933+ name : persons . name ,
1934+ } ) ) ,
19371935 )
19381936
19391937 return (
You can’t perform that action at this time.
0 commit comments