mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-18 22:52:54 +08:00
refactor: rename java_unit_tests command & test runner file
This commit is contained in:
parent
bbc9bcae14
commit
f3e98c8651
@ -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",
|
||||
|
@ -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.
|
||||
*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user