Skip to content

Commit

Permalink
Restyled by prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Jul 6, 2022
1 parent f5b752d commit 83c56a9
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/app/tests/suites/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -789,5 +788,5 @@ function getTests() {
//
// Module exports
//
exports.getTests = getTests;
exports.getTests = getTests;
exports.getManualTests = getManualTests;

0 comments on commit 83c56a9

Please sign in to comment.