-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix failing tests due to hardcoded pkg versions (#56)
- Loading branch information
Showing
2 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,9 @@ describe('useForm', () => { | |
body: expect.any(FormData), | ||
headers: { | ||
Accept: 'application/json', | ||
'Formspree-Client': '@formspree/[email protected] @formspree/[email protected]', | ||
'Formspree-Client': expect.stringMatching( | ||
/^@formspree\/react@[\d.]+ @formspree\/core@[\d.]+$/ | ||
), | ||
'Formspree-Session-Data': expect.any(String), | ||
}, | ||
method: 'POST', | ||
|
@@ -141,7 +143,9 @@ describe('useForm', () => { | |
body: expect.any(FormData), | ||
headers: { | ||
Accept: 'application/json', | ||
'Formspree-Client': '@formspree/[email protected] @formspree/[email protected]', | ||
'Formspree-Client': expect.stringMatching( | ||
/^@formspree\/react@[\d.]+ @formspree\/core@[\d.]+$/ | ||
), | ||
'Formspree-Session-Data': expect.any(String), | ||
}, | ||
method: 'POST', | ||
|
470a405
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
formspree-react-demo – ./
formspree-react.vercel.app
formspree-react-demo-git-main-formspree.vercel.app
formspree-react-demo-formspree.vercel.app
react-demo.formspree.io