Skip to content

Commit

Permalink
test(update): updated recurring test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinyl-Davyl committed Jul 30, 2024
1 parent cf8410f commit 9b4fd34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/store/generateSharebleLink.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ describe("useAppStore", () => {
templateMarkdown: "Sample Template",
modelCto: "Sample Model",
data: '{"key": "value"}',
agreementHtml: "<p>Sample Agreement</p>",
};

// Mock compress function to return a sample compressed string
Expand All @@ -21,6 +22,7 @@ describe("useAppStore", () => {
await store.setTemplateMarkdown(initialState.templateMarkdown);
await store.setModelCto(initialState.modelCto);
await store.setData(initialState.data);
store.agreementHtml = initialState.agreementHtml;

const shareableLink = store.generateShareableLink();

Expand Down

0 comments on commit 9b4fd34

Please sign in to comment.