Skip to content

Commit

Permalink
Update the test for feedbackitem.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
mindlessroman committed Sep 22, 2022
1 parent 2054a57 commit 876f3f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe('Feedback Item', () => {
// Expect basic values of the Feedback Item to be propagated in multiple areas of the rendered component.
expect(component.findWhere((child) =>
child.prop("className") === "anonymous-created-date").text()).
toEqual(moment(testFeedbackItem.createdDate).format('MMMM D, YYYY, h:mm A'));
toEqual(moment(testFeedbackItem.createdDate).format('MMMM D, YYYY [at] h:mm A'));

expect(component.findWhere((child) =>
child.prop("className") === "card-id").text()).
Expand Down

0 comments on commit 876f3f5

Please sign in to comment.