1
0
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:
Justin Baur
2024-03-25 09:28:42 -05:00
committed by GitHub
parent 8639f494f3
commit 908d3d165e
7 changed files with 37 additions and 14 deletions

View File

@@ -82,6 +82,7 @@ describe("MigrationBuilderService", () => {
startingStateVersion,
new FakeStorageService(startingState),
mock(),
"general",
);
await sut.build().migrate(helper);

View File

@@ -18,6 +18,7 @@ export class MigrationRunner {
await currentVersion(this.diskStorage, this.logService),
this.diskStorage,
this.logService,
"general",
);
if (migrationHelper.currentVersion < 0) {