Skip to content

Commit

Permalink
Disable object filtering (#1228)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Rico <[email protected]>
  • Loading branch information
SferaDev authored Oct 24, 2023
1 parent a65d2ce commit 48cb976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/aggregate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ describe('aggregate', () => {
expect(result.aggs.unique).toBeCloseTo(3);
});

test('count and unique count with global filter', async () => {
test.skip('count and unique count with global filter', async () => {
const result = await xata.db.teams.aggregate(
{
total: { count: '*' },
Expand All @@ -127,7 +127,7 @@ describe('aggregate', () => {
expect(result.aggs.unique).toBeCloseTo(2);
});

test('counts with filters', async () => {
test.skip('counts with filters', async () => {
const result = await xata.db.teams.aggregate({
freeCount: { count: { filter: { 'settings.plan': 'free' } } },
paidCount: { count: { filter: { 'settings.plan': 'paid' } } }
Expand Down

0 comments on commit 48cb976

Please sign in to comment.