Skip to content

Commit f76ffb7

Browse files
committed
transactions.test.ts: add default branch to switch statement to make lint happy
1 parent 9a21ad8 commit f76ffb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/firestore/test/integration/api/transactions.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ apiDescribe('Database transactions', (persistence: boolean) => {
203203
await setDoc(this.docRef, { foo: 'bar0' });
204204
await deleteDoc(this.docRef);
205205
break;
206+
default:
207+
throw new Error(`invalid fromDocumentType: ${this.fromDocumentType}`);
206208
}
207209
}
208210

0 commit comments

Comments
 (0)