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 5ccddc9 commit 3be5e79Copy full SHA for 3be5e79
packages/firestore/test/integration/api/pipeline.test.ts
@@ -360,6 +360,17 @@ const timestampDeltaMS = 1000;
360
expectedStructuredPipelineProto
361
);
362
});
363
+
364
+ it('performs validation', async () => {
365
+ expect(() => {
366
+ const pipeline = firestore
367
+ .pipeline()
368
+ .collection('customers')
369
+ .where(field('country').equal(new Map([])));
370
371
+ _internalPipelineToExecutePipelineRequestProto(pipeline);
372
+ }).to.throw();
373
+ });
374
375
376
describe('pipeline results', () => {
0 commit comments