Skip to content

Commit

Permalink
Release-October-13 (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
dackers86 authored Oct 13, 2023
1 parent 88525f5 commit 1516129
Show file tree
Hide file tree
Showing 5 changed files with 19,873 additions and 11,869 deletions.
2 changes: 1 addition & 1 deletion firestore-stripe-payments/_emulator/firebase.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extensions": {
"firestore-stripe-payments": "../"
"firestore-stripe-payments": ".."
},
"storage": {
"rules": "storage.rules"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export async function repeat(
export const waitForDocumentToExistWithField = (
document: DocumentData,
field: string | number,
timeout: number = 10_000
timeout: number = 20_000
): Promise<DocumentData> => {
return new Promise((resolve, reject) => {
let timedOut = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,9 @@ describe('subscription webhook events', () => {
stripeSubscription.latest_invoice
);

const { prices } = subscriptionDoc.doc.data();
const { invoice } = subscriptionDoc.doc.data();

expect(prices).toBeDefined();
expect(prices.length).toBe(1);
expect(invoice).toBeDefined();
}, 20000);
});
});
Loading

0 comments on commit 1516129

Please sign in to comment.