Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,12 @@ import {
} from '../snapshot-helper-install.ts';
import type { AndroidAdbExecutor, AndroidAdbProvider } from '../adb-executor.ts';
import type { AndroidAdbInstaller } from '../adb-transport.ts';
import type { AndroidSnapshotHelperManifest } from '../snapshot-helper-types.ts';
import { ANDROID_SNAPSHOT_HELPER_FIXTURE_ARTIFACT } from './test-utils/android-snapshot-helper.ts';
import { mkdtempForTest } from './test-utils/tmp-dir.ts';

const manifest: AndroidSnapshotHelperManifest = {
name: 'android-snapshot-helper',
version: '0.13.3',
apkUrl: null,
sha256: 'a'.repeat(64),
packageName: 'com.callstack.agentdevice.snapshothelper',
versionCode: 13003,
instrumentationRunner: 'com.callstack.agentdevice.snapshothelper/.SnapshotInstrumentation',
minSdk: 23,
targetSdk: 36,
outputFormat: 'uiautomator-xml',
statusProtocol: 'android-snapshot-helper-v1',
installArgs: ['install', '-r'],
};
// Every test here re-hashes the manifest for the APK it writes, so the identity fields come from the
// one helper fixture rather than a second copy that can drift from the manifest type.
const manifest = ANDROID_SNAPSHOT_HELPER_FIXTURE_ARTIFACT.manifest;

beforeEach(() => {
resetAndroidSnapshotHelperInstallCache();
Expand Down
Loading