From 75d07745e6496d4bef923381196f22c0d1758572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Mon, 12 Jun 2017 19:22:37 +0200 Subject: [PATCH] Improve readability --- test/acceptance/dataviews/aggregation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/acceptance/dataviews/aggregation.js b/test/acceptance/dataviews/aggregation.js index d4f3d65c..02b19782 100644 --- a/test/acceptance/dataviews/aggregation.js +++ b/test/acceptance/dataviews/aggregation.js @@ -217,7 +217,8 @@ describe.only('aggregation-dataview: special float values', function() { ] ); - [{ own_filter: 0 }, {}].forEach(function (filter) { + var filters = [{ own_filter: 0 }, {}]; + filters.forEach(function (filter) { it('should handle special float values using filter: ' + JSON.stringify(filter), function(done) { this.testClient = new TestClient(mapConfig, 1234); this.testClient.getDataview('val_aggregation', { own_filter: 0 }, function(err, dataview) {