From 0a72459b3d2f6f3a7aa10418bc2a8539190aad86 Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Wed, 25 Nov 2020 03:42:47 +0100 Subject: [PATCH] frontend tests: fix trailing comma in runner.js --- tests/frontend/runner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/frontend/runner.js b/tests/frontend/runner.js index 0a5095815..feddaed6e 100644 --- a/tests/frontend/runner.js +++ b/tests/frontend/runner.js @@ -143,7 +143,7 @@ $(() => { // http://stackoverflow.com/questions/1403888/get-url-parameter-with-jquery const getURLParameter = function (name) { return decodeURI( - (RegExp(`${name}=` + '(.+?)(&|$)').exec(location.search) || [, null])[1], + (RegExp(`${name}=` + '(.+?)(&|$)').exec(location.search) || [, null])[1] ); };