diff --git a/js/common/modules/jsunity.js b/js/common/modules/jsunity.js index 97bfe2999a..51a3b0962a 100644 --- a/js/common/modules/jsunity.js +++ b/js/common/modules/jsunity.js @@ -145,7 +145,7 @@ function Run (testsuite) { if (tests.length === 0) { let err = `There is no test in testsuite "${suite.suiteName}" or your filter "${testFilter}" didn't match on anything`; print(`${internal.COLORS.COLOR_RED}${err}${internal.COLORS.COLOR_RESET}`); - res = { + let res = { suiteName: suite.suiteName, message: err, duration: 0, diff --git a/js/common/tests/aql/aql-view-arangosearch-ddl-cluster.js b/js/common/tests/aql/aql-view-arangosearch-ddl-cluster.js index 9a0bebfeb5..95f2c3a9b9 100644 --- a/js/common/tests/aql/aql-view-arangosearch-ddl-cluster.js +++ b/js/common/tests/aql/aql-view-arangosearch-ddl-cluster.js @@ -118,7 +118,7 @@ function IResearchFeatureDDLTestSuite () { db._create("TestCollection0"); var addLink = { links: { "TestCollection0": {} } }; view.properties(addLink, true); // partial update - properties = view.properties(); + let properties = view.properties(); assertTrue(Array === properties.collections.constructor); assertEqual(1, properties.collections.length); db._drop("TestCollection0");