mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
[PM-6965] Add type Property to MigrationHelper (#8411)
* Add `type` Property to `MigrationHelper` * Fix Tests * Make `type` parameter required * Fix mockHelper.type * Remove `readonly` from `type`
This commit is contained in:
@@ -82,6 +82,7 @@ describe("MigrationBuilderService", () => {
|
||||
startingStateVersion,
|
||||
new FakeStorageService(startingState),
|
||||
mock(),
|
||||
"general",
|
||||
);
|
||||
|
||||
await sut.build().migrate(helper);
|
||||
|
||||
@@ -18,6 +18,7 @@ export class MigrationRunner {
|
||||
await currentVersion(this.diskStorage, this.logService),
|
||||
this.diskStorage,
|
||||
this.logService,
|
||||
"general",
|
||||
);
|
||||
|
||||
if (migrationHelper.currentVersion < 0) {
|
||||
|
||||
Reference in New Issue
Block a user