Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sbutz committed Dec 21, 2023
1 parent dd12f31 commit f896dd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion firestore/test/game.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
assertFails, assertSucceeds, initializeTestEnvironment, RulesTestEnvironment,
} from '@firebase/rules-unit-testing';
import {
setLogLevel, setDoc, doc, getDoc, deleteDoc, updateDoc,
setLogLevel, setDoc, doc, getDoc, updateDoc,
} from 'firebase/firestore';

let testEnv: RulesTestEnvironment;
Expand Down
1 change: 1 addition & 0 deletions functions/src/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ const config = isDevelopment() ? {
const app = initializeApp(config);
export const auth = getAuth(app);
export const db = getFirestore(app);
db.settings({ignoreUndefinedProperties: true});

0 comments on commit f896dd9

Please sign in to comment.