Skip to content

Commit 8d08bf2

Browse files
thymikeecursoragent
andcommitted
test(android): stop expecting test-only IME helper installs
The IME helper no longer passes allowTestPackages; the install assertion still required it and failed coverage. Co-authored-by: Cursor <[email protected]>
1 parent 150f6c1 commit 8d08bf2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎packages/platform-android/src/__tests__/ime-helper.test.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ test('ensureAndroidImeHelper installs with semantic provider install options', a
8484
const installCalls: Array<{
8585
apkPath: string;
8686
replace?: boolean;
87-
allowTestPackages?: boolean;
8887
}> = [];
8988
const adb: AndroidAdbExecutor = async (args) => {
9089
if (args.includes('--show-versioncode')) {
@@ -98,7 +97,6 @@ test('ensureAndroidImeHelper installs with semantic provider install options', a
9897
installCalls.push({
9998
apkPath: installApkPath,
10099
replace: options?.replace,
101-
allowTestPackages: options?.allowTestPackages,
102100
});
103101
return { exitCode: 0, stdout: '', stderr: '' };
104102
},
@@ -113,7 +111,7 @@ test('ensureAndroidImeHelper installs with semantic provider install options', a
113111

114112
assert.equal(result.installed, true);
115113
assert.equal(result.reason, 'missing');
116-
assert.deepEqual(installCalls, [{ apkPath, replace: true, allowTestPackages: true }]);
114+
assert.deepEqual(installCalls, [{ apkPath, replace: true }]);
117115
});
118116

119117
test('ensureAndroidImeHelper skips install when a newer version is already present', async () => {

0 commit comments

Comments
 (0)