We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3abed69 commit 9914bf5Copy full SHA for 9914bf5
packages/db/tests/query/distinct.test.ts
@@ -477,7 +477,7 @@ function createDistinctTests(autoIndex: `off` | `eager`): void {
477
emptyCollection.utils.commit()
478
479
expect(emptyDistinct.size).toBe(1)
480
- const department = emptyDistinct.get(1)
+ const department = emptyDistinct.toArray[0]
481
expect(department?.department).toBe(`Test`)
482
})
483
0 commit comments