Skip to content

Commit

Permalink
test: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykBuniX committed Dec 19, 2023
1 parent 4bbd8ef commit c185450
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/script/backup/BackupRepository.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {WebWorker} from 'Util/worker';
import {BackUpHeader, DecodedHeader, ENCRYPTED_BACKUP_FORMAT, ENCRYPTED_BACKUP_VERSION} from './BackUpHeader';
import {BackupRepository, Filename} from './BackupRepository';
import {BackupService} from './BackupService';
import {CancelError, DifferentAccountError, IncompatibleBackupError, IncompatiblePlatformError} from './Error';
import {CancelError, DifferentAccountError, IncompatiblePlatformError} from './Error';
import {handleZipEvent} from './zipWorker';

import {ConversationRepository} from '../conversation/ConversationRepository';
Expand Down Expand Up @@ -172,12 +172,6 @@ describe('BackupRepository', () => {
metaChanges: {user_id: 'fail'},
},
],
[
{
expectedError: IncompatibleBackupError,
metaChanges: {version: 13}, // version 14 contains a migration script, thus will generate an error
},
],
[
{
expectedError: IncompatiblePlatformError,
Expand Down

0 comments on commit c185450

Please sign in to comment.