fix(mobile): recover direct channels after network failure
This commit is contained in:
@@ -36,6 +36,19 @@ test('App 平台编译器已声明且与其他 uni 包同版本,避免 build:a
|
||||
assert.equal(appPlus, pkg.devDependencies['@dcloudio/vite-plugin-uni']);
|
||||
});
|
||||
|
||||
test('App 版本在 package、lockfile 与原生 manifest 间保持一致', async () => {
|
||||
const [pkg, lockfile, manifest] = await Promise.all([
|
||||
readJson('../package.json'),
|
||||
readJson('../package-lock.json'),
|
||||
readJson('../src/manifest.json')
|
||||
]);
|
||||
|
||||
assert.equal(lockfile.version, pkg.version);
|
||||
assert.equal(lockfile.packages?.['']?.version, pkg.version);
|
||||
assert.equal(manifest.versionName, pkg.version);
|
||||
assert.match(String(manifest.versionCode || ''), /^\d+$/);
|
||||
});
|
||||
|
||||
test('Android 自定义基座显式面向 Android 15 权限模型', async () => {
|
||||
const manifest = await readJson('../src/manifest.json');
|
||||
const android = manifest['app-plus']?.distribute?.android;
|
||||
|
||||
Reference in New Issue
Block a user