Better backup integration test harness

This commit is contained in:
Fedor Indutny 2024-09-20 20:10:28 -07:00 committed by GitHub
parent 32485abf06
commit a6a838a673
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 147 additions and 198 deletions

View file

@ -69,7 +69,6 @@ type StateType = Readonly<
export type PrepareLinkDataOptionsType = Readonly<{
deviceName: string;
backupFile?: Uint8Array;
isBackupIntegration?: boolean;
}>;
export class Provisioner {
@ -153,7 +152,6 @@ export class Provisioner {
public prepareLinkData({
deviceName,
backupFile,
isBackupIntegration,
}: PrepareLinkDataOptionsType): CreateLinkedDeviceOptionsType {
strictAssert(
this.state.step === Step.ReadyToLink,
@ -211,7 +209,6 @@ export class Provisioner {
MAX_DEVICE_NAME_LENGTH
),
backupFile,
isBackupIntegration,
userAgent,
ourAci,
ourPni,