Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Jul 11, 2023
1 parent 41b9839 commit 02df94b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/snjs/mocha/lib/BaseItemCounts.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
const ExpectedItemCountsWithVaultFeatureEnabled = {
Items: ['ItemsKey', 'UserPreferences', 'DarkTheme'].length,
ItemsWithAccount: ['ItemsKey', 'UserPreferences', 'DarkTheme', 'TrustedSelfContact'].length,
ItemsWithAccountWithoutItemsKey: ['UserPreferences', 'DarkTheme', 'TrustedSelfContact'].length,
ItemsNoAccounNoItemsKey: ['UserPreferences', 'DarkTheme'].length,
Items: ['ItemsKey', 'UserPreferences'].length,
ItemsWithAccount: ['ItemsKey', 'UserPreferences', 'TrustedSelfContact'].length,
ItemsWithAccountWithoutItemsKey: ['UserPreferences', 'TrustedSelfContact'].length,
ItemsNoAccounNoItemsKey: ['UserPreferences'].length,
BackupFileRootKeyEncryptedItems: ['TrustedSelfContact'].length,
}

const ExpectedItemCountsWithVaultFeatureDisabled = {
Items: ['ItemsKey', 'UserPreferences', 'DarkTheme'].length,
ItemsWithAccount: ['ItemsKey', 'UserPreferences', 'DarkTheme'].length,
ItemsWithAccountWithoutItemsKey: ['UserPreferences', 'DarkTheme'].length,
ItemsNoAccounNoItemsKey: ['UserPreferences', 'DarkTheme'].length,
Items: ['ItemsKey', 'UserPreferences'].length,
ItemsWithAccount: ['ItemsKey', 'UserPreferences'].length,
ItemsWithAccountWithoutItemsKey: ['UserPreferences'].length,
ItemsNoAccounNoItemsKey: ['UserPreferences'].length,
BackupFileRootKeyEncryptedItems: [].length,
}

Expand Down

0 comments on commit 02df94b

Please sign in to comment.