refactor: rename java_unit_tests command & test runner file

This commit is contained in:
Erisu 2021-07-27 14:55:46 +09:00
parent bbc9bcae14
commit f3e98c8651
No known key found for this signature in database
GPG Key ID: 2E5FF17FB26AF7F2
3 changed files with 4 additions and 4 deletions

View File

@ -12,13 +12,13 @@
], ],
"scripts": { "scripts": {
"prepare": "cordova-js build > templates/project/assets/www/cordova.js", "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/**/!(*.*)\"", "lint": "eslint lib spec test \"templates/cordova/**/!(*.*)\"",
"unit-tests": "jasmine --config=spec/unit/jasmine.json", "unit-tests": "jasmine --config=spec/unit/jasmine.json",
"cover": "nyc jasmine --config=spec/coverage.json", "cover": "nyc jasmine --config=spec/coverage.json",
"e2e-tests": "jasmine --config=spec/e2e/jasmine.json", "e2e-tests": "jasmine --config=spec/e2e/jasmine.json",
"java-unit-tests": "node test/run_java_unit_tests.js", "java-tests": "node test/java_test_runner.js",
"clean:java-unit-tests": "node test/clean.js" "clean:java-tests": "node test/clean.js"
}, },
"author": "Apache Software Foundation", "author": "Apache Software Foundation",
"license": "Apache-2.0", "license": "Apache-2.0",

View File

@ -21,7 +21,7 @@ const fs = require('fs-extra');
const path = require('path'); 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. * you want to upgrade gradlew or test its proper generation.
*/ */