Skip to content

Commit ac3fd2a

Browse files
committed
updated the test case messages
1 parent 49cd104 commit ac3fd2a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

keeperapi/src/__tests__/vault.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe('Sync Down', () => {
3838
} as unknown as Auth;
3939
syncDownResponseBuilder = new SyncDownResponseBuilder();
4040
})
41-
it('calls the storage.get when a new record is created by the user', async () => {
41+
it('saves the record data when a new record is created by the user', async () => {
4242
const decryptedRecordKey = platform.getRandomBytes(32)
4343
const recordKey = await platform.aesGcmEncrypt(decryptedRecordKey, auth.dataKey!)
4444
const recordUid = platform.getRandomBytes(16)
@@ -90,7 +90,7 @@ describe('Sync Down', () => {
9090
)
9191
})
9292

93-
it('calls the storage.put when an existing record is updated by the user', async () => {
93+
it('saves the new record data when an existing record is updated by the user', async () => {
9494
const decryptedRecordKey = platform.getRandomBytes(32)
9595
const recordKey = await platform.aesGcmEncrypt(decryptedRecordKey, auth.dataKey!)
9696
const recordUid = platform.getRandomBytes(16)
@@ -124,7 +124,7 @@ describe('Sync Down', () => {
124124
)
125125
})
126126

127-
it('calls the storage.delete when an existing record is removed', async () => {
127+
it('deletes the record data when an existing record is removed', async () => {
128128
const recordUid = platform.getRandomBytes(16)
129129
syncDownResponseBuilder
130130
.addRemovedRecord(recordUid)

0 commit comments

Comments
 (0)