Skip to content

Commit

Permalink
Includes tests for subcollection backfills, fix on syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
vazome committed Nov 17, 2024
1 parent 16afc19 commit 334c22a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/indexOnWriteSubcollectionWithoutFlattening.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe("indexOnWriteWithoutFlattening", () => {
// update document in Firestore
subDocData.nested_field.field1 = "new value1";

await subDocRef.update(subDocRef);
await subDocRef.update(subDocData);

// wait for the Firestore cloud function to write to Typesense
await new Promise((r) => setTimeout(r, 2500));
Expand Down

0 comments on commit 334c22a

Please sign in to comment.