Skip to content

Commit

Permalink
firestore-compat: fix typing error in fields.test.ts: TS2339: Propert…
Browse files Browse the repository at this point in the history
…y 'ignoreUndefinedProperties' does not exist on type '{ host: string; ssl: boolean; }' (#7108)
  • Loading branch information
dconeybe authored Mar 9, 2023
1 parent 497c38a commit 2e22d5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/firestore-compat/test/fields.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,7 @@ apiDescribe('Timestamp Fields in snapshots', (persistence: boolean) => {
});

apiDescribe('`undefined` properties', (persistence: boolean) => {
const settings = { ...DEFAULT_SETTINGS };
settings.ignoreUndefinedProperties = true;
const settings = { ...DEFAULT_SETTINGS, ignoreUndefinedProperties: true };

it('are ignored in set()', () => {
return withTestDocAndSettings(persistence, settings, async doc => {
Expand Down

0 comments on commit 2e22d5b

Please sign in to comment.