Skip to content

Commit

Permalink
fix: fix support manifest flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnagydavid committed Oct 18, 2024
1 parent 4af1e7f commit a6e23c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/kv/commonKeyValueDB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ export interface CommonKeyValueDBSaveBatchOptions {
*/
export interface CommonKeyValueDBSupport {
count?: boolean
increment?: boolean
incrementBatch?: boolean
}

export const commonKeyValueDBFullSupport: CommonKeyValueDBSupport = {
count: true,
increment: true,
incrementBatch: true,
}
2 changes: 1 addition & 1 deletion src/testing/keyValueDBTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function runCommonKeyValueDBTest(db: CommonKeyValueDB): void {
expect(results).toEqual([])
})

if (support.increment) {
if (support.incrementBatch) {
const id = 'nonExistingField'
const id2 = 'nonExistingField2'

Expand Down
2 changes: 1 addition & 1 deletion src/testing/keyValueDaoTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function runCommonKeyValueDaoTest(db: CommonKeyValueDB): void {
expect(results).toEqual([])
})

if (support.increment) {
if (support.incrementBatch) {
const id = 'nonExistingField'
const id2 = 'nonExistingField2'

Expand Down

0 comments on commit a6e23c3

Please sign in to comment.