From 83c56a9a1545ec3bc03e396a89f8c6bcf49e160c Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 6 Jul 2022 07:59:37 +0000 Subject: [PATCH] Restyled by prettier --- src/app/tests/suites/tests.js | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/app/tests/suites/tests.js b/src/app/tests/suites/tests.js index dfdb29bc6897a7..00cbd492062710 100644 --- a/src/app/tests/suites/tests.js +++ b/src/app/tests/suites/tests.js @@ -15,15 +15,14 @@ * limitations under the License. */ -function disable(testName) -{ - const index = this.indexOf(testName); - if (index == -1) { - const errStr = `Test ${testName} does not exists.`; - throw new Error(errStr); - } - - this.splice(index, 1); +function disable(testName) { + const index = this.indexOf(testName); + if (index == -1) { + const errStr = `Test ${testName} does not exists.`; + throw new Error(errStr); + } + + this.splice(index, 1); } // clang-format off @@ -789,5 +788,5 @@ function getTests() { // // Module exports // -exports.getTests = getTests; +exports.getTests = getTests; exports.getManualTests = getManualTests;