Skip to content

Commit

Permalink
misc: add console logs to debug CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
greenpixels committed Sep 29, 2023
1 parent 7dc36bf commit 5c50d41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/components/AssetCardForm/AssetCardForm.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ describe("Testing setCard-Prop in Health-Select", () => {
for (const option of options) {
const expectedValue = parseInt(option.charAt(0));
cleanup();
console.log(`Before change event: ${option}`);
await test_ant_select_on_change_event(
{
...getMockCard(),
Expand All @@ -246,7 +247,9 @@ describe("Testing setCard-Prop in Health-Select", () => {
option,
user
);
console.log(`After change event: ${option}`);
await waitFor(() => {
console.log(`In wait-for: ${option}`);
expect(mockSetter).toHaveBeenCalledWith({
...getMockCard(),
health: expectedValue,
Expand Down

0 comments on commit 5c50d41

Please sign in to comment.