From bb4d4957ae598180ecf995e7c55a2b9854b0a6d6 Mon Sep 17 00:00:00 2001 From: Mingze Xiao Date: Fri, 28 Aug 2020 12:45:49 -0700 Subject: [PATCH] fix(resin): Spell resin tags as lowercase to avoid console warnings --- src/components/ReplyForm/ReplyForm.tsx | 8 ++++---- src/components/ReplyForm/__tests__/ReplyForm-test.tsx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/ReplyForm/ReplyForm.tsx b/src/components/ReplyForm/ReplyForm.tsx index 3039756d9..c1d52e8c2 100644 --- a/src/components/ReplyForm/ReplyForm.tsx +++ b/src/components/ReplyForm/ReplyForm.tsx @@ -83,8 +83,8 @@ const ReplyForm = (props: Props): JSX.Element => {
{ { const postButton = wrapper.find('[data-testid="ba-Popup-submit"]'); const resinTags = { - 'data-resin-fileId': defaults.fileId, - 'data-resin-isCurrent': defaults.isCurrentFileVersion, + 'data-resin-fileid': defaults.fileId, + 'data-resin-iscurrent': defaults.isCurrentFileVersion, }; expect(cancelButton.props()).toMatchObject({