From f3e98c8651bcf981b493f78013aea642cad527b4 Mon Sep 17 00:00:00 2001 From: Erisu Date: Tue, 27 Jul 2021 14:55:46 +0900 Subject: [PATCH] refactor: rename java_unit_tests command & test runner file --- package.json | 6 +++--- test/clean.js | 2 +- test/{run_java_unit_tests.js => java_test_runner.js} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename test/{run_java_unit_tests.js => java_test_runner.js} (100%) diff --git a/package.json b/package.json index 988e0cf6..577358dc 100644 --- a/package.json +++ b/package.json @@ -12,13 +12,13 @@ ], "scripts": { "prepare": "cordova-js build > templates/project/assets/www/cordova.js", - "test": "npm run lint && npm run cover && npm run java-unit-tests", + "test": "npm run lint && npm run cover && npm run java-tests", "lint": "eslint lib spec test \"templates/cordova/**/!(*.*)\"", "unit-tests": "jasmine --config=spec/unit/jasmine.json", "cover": "nyc jasmine --config=spec/coverage.json", "e2e-tests": "jasmine --config=spec/e2e/jasmine.json", - "java-unit-tests": "node test/run_java_unit_tests.js", - "clean:java-unit-tests": "node test/clean.js" + "java-tests": "node test/java_test_runner.js", + "clean:java-tests": "node test/clean.js" }, "author": "Apache Software Foundation", "license": "Apache-2.0", diff --git a/test/clean.js b/test/clean.js index 88148cdb..16cc18ce 100644 --- a/test/clean.js +++ b/test/clean.js @@ -21,7 +21,7 @@ const fs = require('fs-extra'); const path = require('path'); /** - * This script is to be run manually (e.g. by npm run clean:java-unit-tests) if + * This script is to be run manually (e.g. by npm run clean:java-tests) if * you want to upgrade gradlew or test its proper generation. */ diff --git a/test/run_java_unit_tests.js b/test/java_test_runner.js similarity index 100% rename from test/run_java_unit_tests.js rename to test/java_test_runner.js