Skip to content

Commit

Permalink
fix(firestore-stripe-web-sdk): updating inconsitent ci testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dackers86 committed Oct 7, 2023
1 parent 387f823 commit bb9c61c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion firestore-stripe-web-sdk/.mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module.exports = {
require: ["ts-node/register", "jsdom-global/register"],
timeout: 20000,
timeout: 60000,
};
2 changes: 1 addition & 1 deletion firestore-stripe-web-sdk/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const config = {

client: {
mocha: {
timeout: 20000,
timeout: 60000,
},
},

Expand Down
2 changes: 2 additions & 0 deletions firestore-stripe-web-sdk/test/emulator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,9 @@ describe("Emulator tests", () => {
"sub4"
);
await setDoc(sub4, buildSubscriptionDocument(rawSubscriptionData.sub1));
console.log("STEP ONE >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
await until(() => events.length > 1);
console.log("STEP TWO >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");

expect(events.length).to.equal(2);
expect(events[1]).to.eql({
Expand Down

0 comments on commit bb9c61c

Please sign in to comment.