@@ -365,7 +365,9 @@ describe('@apostrophecms/import-export:import-page', function () {
365365 titleSortified : 'level 2 page 1' ,
366366 type : 'test-page' ,
367367 updatedAt : importedDocs . at ( 0 ) . updatedAt ,
368- ...( importedDocs . at ( 0 ) . importedAt && { importedAt : importedDocs . at ( 0 ) . importedAt } ) ,
368+ ...( importedDocs . at ( 0 ) . importedAt && {
369+ importedAt : importedDocs . at ( 0 ) . importedAt
370+ } ) ,
369371 updatedBy : {
370372 _id : null , // TODO: should be my user id
371373 title : 'System Task' ,
@@ -405,7 +407,9 @@ describe('@apostrophecms/import-export:import-page', function () {
405407 titleSortified : 'level 2 page 1' ,
406408 type : 'test-page' ,
407409 updatedAt : importedDocs . at ( 1 ) . updatedAt ,
408- ...( importedDocs . at ( 1 ) . importedAt && { importedAt : importedDocs . at ( 1 ) . importedAt } ) ,
410+ ...( importedDocs . at ( 1 ) . importedAt && {
411+ importedAt : importedDocs . at ( 1 ) . importedAt
412+ } ) ,
409413 updatedBy : {
410414 _id : null , // TODO: should be my user id
411415 title : 'System Task' ,
@@ -445,7 +449,9 @@ describe('@apostrophecms/import-export:import-page', function () {
445449 titleSortified : 'level 4 page 1' ,
446450 type : 'test-page' ,
447451 updatedAt : importedDocs . at ( 2 ) . updatedAt ,
448- ...( importedDocs . at ( 2 ) . importedAt && { importedAt : importedDocs . at ( 2 ) . importedAt } ) ,
452+ ...( importedDocs . at ( 2 ) . importedAt && {
453+ importedAt : importedDocs . at ( 2 ) . importedAt
454+ } ) ,
449455 updatedBy : {
450456 _id : null , // TODO: should be my user id
451457 title : 'System Task' ,
@@ -487,7 +493,9 @@ describe('@apostrophecms/import-export:import-page', function () {
487493 titleSortified : 'level 4 page 1' ,
488494 type : 'test-page' ,
489495 updatedAt : importedDocs . at ( 3 ) . updatedAt ,
490- ...( importedDocs . at ( 3 ) . importedAt && { importedAt : importedDocs . at ( 3 ) . importedAt } ) ,
496+ ...( importedDocs . at ( 3 ) . importedAt && {
497+ importedAt : importedDocs . at ( 3 ) . importedAt
498+ } ) ,
491499 updatedBy : {
492500 _id : null , // TODO: should be my user id
493501 title : 'System Task' ,
@@ -618,7 +626,9 @@ describe('@apostrophecms/import-export:import-page', function () {
618626 titleSortified : 'level 2 page 1' ,
619627 type : 'test-page' ,
620628 updatedAt : importedDocs . at ( 0 ) . updatedAt ,
621- ...( importedDocs . at ( 0 ) . importedAt && { importedAt : importedDocs . at ( 0 ) . importedAt } ) ,
629+ ...( importedDocs . at ( 0 ) . importedAt && {
630+ importedAt : importedDocs . at ( 0 ) . importedAt
631+ } ) ,
622632 updatedBy : {
623633 _id : null , // TODO: should be my user id
624634 title : 'System Task' ,
@@ -658,7 +668,9 @@ describe('@apostrophecms/import-export:import-page', function () {
658668 titleSortified : 'level 2 page 1' ,
659669 type : 'test-page' ,
660670 updatedAt : importedDocs . at ( 1 ) . updatedAt ,
661- ...( importedDocs . at ( 1 ) . importedAt && { importedAt : importedDocs . at ( 1 ) . importedAt } ) ,
671+ ...( importedDocs . at ( 1 ) . importedAt && {
672+ importedAt : importedDocs . at ( 1 ) . importedAt
673+ } ) ,
662674 updatedBy : {
663675 _id : null , // TODO: should be my user id
664676 title : 'System Task' ,
@@ -698,7 +710,9 @@ describe('@apostrophecms/import-export:import-page', function () {
698710 titleSortified : 'level 4 page 1' ,
699711 type : 'test-page' ,
700712 updatedAt : importedDocs . at ( 2 ) . updatedAt ,
701- ...( importedDocs . at ( 2 ) . importedAt && { importedAt : importedDocs . at ( 2 ) . importedAt } ) ,
713+ ...( importedDocs . at ( 2 ) . importedAt && {
714+ importedAt : importedDocs . at ( 2 ) . importedAt
715+ } ) ,
702716 updatedBy : {
703717 _id : null , // TODO: should be my user id
704718 title : 'System Task' ,
@@ -740,7 +754,9 @@ describe('@apostrophecms/import-export:import-page', function () {
740754 titleSortified : 'level 4 page 1' ,
741755 type : 'test-page' ,
742756 updatedAt : importedDocs . at ( 3 ) . updatedAt ,
743- ...( importedDocs . at ( 3 ) . importedAt && { importedAt : importedDocs . at ( 3 ) . importedAt } ) ,
757+ ...( importedDocs . at ( 3 ) . importedAt && {
758+ importedAt : importedDocs . at ( 3 ) . importedAt
759+ } ) ,
744760 updatedBy : {
745761 _id : null , // TODO: should be my user id
746762 title : 'System Task' ,
@@ -993,7 +1009,9 @@ describe('@apostrophecms/import-export:import-page', function () {
9931009 titleSortified : 'custom' ,
9941010 type : 'custom-page' ,
9951011 updatedAt : importedDocs . at ( 0 ) . updatedAt ,
996- ...( importedDocs . at ( 0 ) . importedAt && { importedAt : importedDocs . at ( 0 ) . importedAt } ) ,
1012+ ...( importedDocs . at ( 0 ) . importedAt && {
1013+ importedAt : importedDocs . at ( 0 ) . importedAt
1014+ } ) ,
9971015 updatedBy : {
9981016 _id : null , // TODO: should be my user id
9991017 title : 'System Task' ,
@@ -1033,7 +1051,9 @@ describe('@apostrophecms/import-export:import-page', function () {
10331051 titleSortified : 'custom' ,
10341052 type : 'custom-page' ,
10351053 updatedAt : importedDocs . at ( 1 ) . updatedAt ,
1036- ...( importedDocs . at ( 1 ) . importedAt && { importedAt : importedDocs . at ( 1 ) . importedAt } ) ,
1054+ ...( importedDocs . at ( 1 ) . importedAt && {
1055+ importedAt : importedDocs . at ( 1 ) . importedAt
1056+ } ) ,
10371057 updatedBy : {
10381058 _id : null , // TODO: should be my user id
10391059 title : 'System Task' ,
@@ -1073,7 +1093,9 @@ describe('@apostrophecms/import-export:import-page', function () {
10731093 titleSortified : 'custom' ,
10741094 type : 'custom-page' ,
10751095 updatedAt : importedDocs . at ( 2 ) . updatedAt ,
1076- ...( importedDocs . at ( 2 ) . importedAt && { importedAt : importedDocs . at ( 2 ) . importedAt } ) ,
1096+ ...( importedDocs . at ( 2 ) . importedAt && {
1097+ importedAt : importedDocs . at ( 2 ) . importedAt
1098+ } ) ,
10771099 updatedBy : {
10781100 _id : null , // TODO: should be my user id
10791101 title : 'System Task' ,
@@ -1113,7 +1135,9 @@ describe('@apostrophecms/import-export:import-page', function () {
11131135 titleSortified : 'custom level 3 page 1' ,
11141136 type : 'test-page' ,
11151137 updatedAt : importedDocs . at ( 3 ) . updatedAt ,
1116- ...( importedDocs . at ( 3 ) . importedAt && { importedAt : importedDocs . at ( 3 ) . importedAt } ) ,
1138+ ...( importedDocs . at ( 3 ) . importedAt && {
1139+ importedAt : importedDocs . at ( 3 ) . importedAt
1140+ } ) ,
11171141 updatedBy : {
11181142 _id : null , // TODO: should be my user id
11191143 title : 'System Task' ,
@@ -1155,7 +1179,9 @@ describe('@apostrophecms/import-export:import-page', function () {
11551179 titleSortified : 'custom level 3 page 1' ,
11561180 type : 'test-page' ,
11571181 updatedAt : importedDocs . at ( 4 ) . updatedAt ,
1158- ...( importedDocs . at ( 4 ) . importedAt && { importedAt : importedDocs . at ( 4 ) . importedAt } ) ,
1182+ ...( importedDocs . at ( 4 ) . importedAt && {
1183+ importedAt : importedDocs . at ( 4 ) . importedAt
1184+ } ) ,
11591185 updatedBy : {
11601186 _id : null , // TODO: should be my user id
11611187 title : 'System Task' ,
0 commit comments