chore!: update template defaults (#1837)

* chore: update default package id
* chore: sync cordova-app-hello-world defaults & modified for Android differences
This commit is contained in:
エリス
2025-08-19 13:55:18 +09:00
committed by GitHub
parent 8742cfe4a6
commit e4457f7fdb
6 changed files with 57 additions and 59 deletions

View File

@@ -155,10 +155,10 @@ describe('create', function () {
});
describe('parameter values and defaults', function () {
it('should have a default package name of io.cordova.helloCordova', () => {
it('should have a default package name of org.apache.cordova.hellocordova', () => {
config_mock.packageName.and.returnValue(undefined);
return create.create(project_path, config_mock, {}, events_mock).then(() => {
expect(create.validatePackageName).toHaveBeenCalledWith('io.cordova.helloCordova');
expect(create.validatePackageName).toHaveBeenCalledWith('org.apache.cordova.hellocordova');
});
});