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