@@ -357,9 +357,8 @@ async.each(
357357 const query = defaultDatastore
358358 . createQuery ( 'Post' )
359359 . hasAncestor ( postKey ) ;
360- const [ defaultDatastoreResults ] = await defaultDatastore . runQuery (
361- query
362- ) ;
360+ const [ defaultDatastoreResults ] =
361+ await defaultDatastore . runQuery ( query ) ;
363362 assert . strictEqual ( defaultDatastoreResults . length , 1 ) ;
364363 const [ entity ] = await defaultDatastore . get ( postKey ) ;
365364 assert . strictEqual ( entity . author , 'Silvano' ) ;
@@ -368,9 +367,8 @@ async.each(
368367 namespace,
369368 databaseId : SECOND_DATABASE_ID ,
370369 } ) ;
371- const [ secondDatastoreResults ] = await otherDatastore . runQuery (
372- query
373- ) ;
370+ const [ secondDatastoreResults ] =
371+ await otherDatastore . runQuery ( query ) ;
374372 assert . strictEqual ( secondDatastoreResults . length , 0 ) ;
375373 const [ otherEntity ] = await otherDatastore . get ( postKey ) ;
376374 assert ( typeof otherEntity === 'undefined' ) ;
@@ -383,13 +381,11 @@ async.each(
383381 const query = defaultDatastore
384382 . createQuery ( 'Post' )
385383 . hasAncestor ( postKey ) ;
386- const [ defaultDatastoreResults ] = await defaultDatastore . runQuery (
387- query
388- ) ;
384+ const [ defaultDatastoreResults ] =
385+ await defaultDatastore . runQuery ( query ) ;
389386 assert . strictEqual ( defaultDatastoreResults . length , 0 ) ;
390- const [ originalSecondaryResults ] = await defaultDatastore . runQuery (
391- query
392- ) ;
387+ const [ originalSecondaryResults ] =
388+ await defaultDatastore . runQuery ( query ) ;
393389 assert . strictEqual ( originalSecondaryResults . length , 0 ) ;
394390 const [ entity ] = await defaultDatastore . get ( postKey ) ;
395391 assert ( typeof entity === 'undefined' ) ;
@@ -399,9 +395,8 @@ async.each(
399395 databaseId : SECOND_DATABASE_ID ,
400396 } ) ;
401397 await otherDatastore . save ( { key : postKey , data : post } ) ;
402- const [ secondDatastoreResults ] = await otherDatastore . runQuery (
403- query
404- ) ;
398+ const [ secondDatastoreResults ] =
399+ await otherDatastore . runQuery ( query ) ;
405400 assert . strictEqual ( secondDatastoreResults . length , 1 ) ;
406401 const [ originalResults ] = await defaultDatastore . runQuery ( query ) ;
407402 assert . strictEqual ( originalResults . length , 0 ) ;
@@ -452,9 +447,8 @@ async.each(
452447 const query = defaultDatastore
453448 . createQuery ( 'Post' )
454449 . hasAncestor ( defaultPostKey ) ;
455- const [ defaultDatastoreResults ] = await defaultDatastore . runQuery (
456- query
457- ) ;
450+ const [ defaultDatastoreResults ] =
451+ await defaultDatastore . runQuery ( query ) ;
458452 assert . strictEqual ( defaultDatastoreResults . length , 1 ) ;
459453 assert . strictEqual (
460454 defaultDatastoreResults [ 0 ] . author ,
0 commit comments