Browse Source

Remove empty arrays from ES fixture

pull/666/head
Diana Shkolnikov 8 years ago committed by Stephen Hess
parent
commit
e33c58bd42
  1. 156
      test/unit/fixture/dedupe_elasticsearch_results.js

156
test/unit/fixture/dedupe_elasticsearch_results.js

@ -8,37 +8,27 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
'neighbourhood': [],
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -51,11 +41,9 @@ module.exports = [
'locality_id': [ 'locality_id': [
'101718643' '101718643'
], ],
'neighbourhood_a': [],
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -91,48 +79,33 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
'neighbourhood': [],
'localadmin_id': [ 'localadmin_id': [
'404487185' '404487185'
], ],
'macroregion_id': [],
'neighbourhood_id': [],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
'region_id': [ 'region_id': [
'85688481' '85688481'
], ],
'locality': [],
'locality_id': [],
'neighbourhood_a': [],
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -168,24 +141,18 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
@ -195,14 +162,12 @@ module.exports = [
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [ 'neighbourhood_id': [
'85846173' '85846173'
], ],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -221,7 +186,6 @@ module.exports = [
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -258,24 +222,18 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
@ -285,14 +243,12 @@ module.exports = [
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [ 'neighbourhood_id': [
'85822505' '85822505'
], ],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -311,7 +267,6 @@ module.exports = [
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -347,48 +302,33 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
'neighbourhood': [],
'localadmin_id': [ 'localadmin_id': [
'404487185' '404487185'
], ],
'macroregion_id': [],
'neighbourhood_id': [],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
'region_id': [ 'region_id': [
'85688481' '85688481'
], ],
'locality': [],
'locality_id': [],
'neighbourhood_a': [],
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -425,37 +365,27 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
'neighbourhood': [],
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -468,11 +398,9 @@ module.exports = [
'locality_id': [ 'locality_id': [
'101718643' '101718643'
], ],
'neighbourhood_a': [],
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -508,24 +436,18 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
@ -535,14 +457,12 @@ module.exports = [
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [ 'neighbourhood_id': [
'85822505' '85822505'
], ],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -561,7 +481,6 @@ module.exports = [
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -597,37 +516,27 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
'neighbourhood': [],
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -640,11 +549,9 @@ module.exports = [
'locality_id': [ 'locality_id': [
'101718643' '101718643'
], ],
'neighbourhood_a': [],
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -680,24 +587,18 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
@ -707,14 +608,12 @@ module.exports = [
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [ 'neighbourhood_id': [
'85822505' '85822505'
], ],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -733,7 +632,6 @@ module.exports = [
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -770,24 +668,18 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
@ -797,14 +689,12 @@ module.exports = [
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [ 'neighbourhood_id': [
'85822505' '85822505'
], ],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -823,7 +713,6 @@ module.exports = [
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -859,37 +748,27 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
'neighbourhood': [],
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -902,11 +781,9 @@ module.exports = [
'locality_id': [ 'locality_id': [
'101718643' '101718643'
], ],
'neighbourhood_a': [],
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -943,24 +820,18 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
@ -970,14 +841,12 @@ module.exports = [
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [ 'neighbourhood_id': [
'85822505' '85822505'
], ],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -996,7 +865,6 @@ module.exports = [
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -1032,37 +900,27 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
'neighbourhood': [],
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -1075,11 +933,9 @@ module.exports = [
'locality_id': [ 'locality_id': [
'101718643' '101718643'
], ],
'neighbourhood_a': [],
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],
@ -1115,37 +971,27 @@ module.exports = [
'country': [ 'country': [
'United States' 'United States'
], ],
'macrocounty_a': [],
'locality_a': [ 'locality_a': [
null null
], ],
'county': [ 'county': [
'Lancaster County' 'Lancaster County'
], ],
'borough_a': [],
'borough_id': [],
'borough': [],
'macroregion': [],
'region_a': [ 'region_a': [
'PA' 'PA'
], ],
'localadmin': [ 'localadmin': [
'Lancaster' 'Lancaster'
], ],
'macrocounty': [],
'county_id': [ 'county_id': [
'102081377' '102081377'
], ],
'neighbourhood': [],
'localadmin_id': [ 'localadmin_id': [
'404487183' '404487183'
], ],
'macroregion_id': [],
'neighbourhood_id': [],
'country_a': [ 'country_a': [
'USA' 'USA'
], ],
'macroregion_a': [],
'localadmin_a': [ 'localadmin_a': [
null null
], ],
@ -1158,11 +1004,9 @@ module.exports = [
'locality_id': [ 'locality_id': [
'101718643' '101718643'
], ],
'neighbourhood_a': [],
'region': [ 'region': [
'Pennsylvania' 'Pennsylvania'
], ],
'macrocounty_id': [],
'country_id': [ 'country_id': [
'85633793' '85633793'
], ],

Loading…
Cancel
Save