Skip to content

Commit 1f85caa

Browse files
committed
fix lint;
1 parent 675e483 commit 1f85caa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/db/tests/local-storage.test-d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ describe(`LocalStorage collection type resolution tests`, () => {
282282
})
283283

284284
it(`should work with schema and query builder type inference (bug report reproduction)`, () => {
285-
const testSchema = z.object({
285+
const queryTestSchema = z.object({
286286
id: z.string(),
287287
entityId: z.string(),
288288
value: z.string(),
@@ -294,7 +294,7 @@ describe(`LocalStorage collection type resolution tests`, () => {
294294
storage: mockStorage,
295295
storageEventApi: mockStorageEventApi,
296296
getKey: (item: any) => item.id,
297-
schema: testSchema,
297+
schema: queryTestSchema,
298298
}
299299

300300
const options = localStorageCollectionOptions(config)

0 commit comments

Comments
 (0)