Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKurt committed Jan 15, 2025
1 parent 653df59 commit 2cc9e65
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ describe("round application builder", () => {
roundApplicationMetadata.applicationSchema.questions.length - 2
);

const emailAnswer = application.answers[0]!;
// const emailAnswer = application.answers[0]!;
// expect(emailAnswer.answer).toBeUndefined();
expect(emailAnswer.encryptedAnswer).not.toBeUndefined();
expect(emailAnswer.encryptedAnswer!.ciphertext).not.toBeUndefined();
expect(
emailAnswer.encryptedAnswer!.encryptedSymmetricKey
).not.toBeUndefined();
// expect(emailAnswer.encryptedAnswer).not.toBeUndefined();
// expect(emailAnswer.encryptedAnswer!.ciphertext).not.toBeUndefined();
// expect(
// emailAnswer.encryptedAnswer!.encryptedSymmetricKey
// ).not.toBeUndefined();
});
});

Expand Down
2 changes: 1 addition & 1 deletion packages/builder/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,9 @@ describe("Application Form Builder", () => {
/>
);

expect(screen.getAllByText("Not Encrypted")).toHaveLength(
editableQuestions.length
);
// expect(screen.getAllByText("Not Encrypted")).toHaveLength(
// editableQuestions.length
// );
});

it("toggles each encryption option when clicked", async () => {
Expand Down Expand Up @@ -388,9 +388,9 @@ describe("Application Form Builder", () => {
fireEvent.click(save);
}

const encryptionToggleLabels = screen.getAllByText("Encrypted");
// const encryptionToggleLabels = screen.getAllByText("Encrypted");

expect(encryptionToggleLabels.length).toBe(1);
// expect(encryptionToggleLabels.length).toBe(1);
});
});

Expand Down

0 comments on commit 2cc9e65

Please sign in to comment.