test(inertia): add test for invalid url input#2007
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2007 +/- ##
==========================================
+ Coverage 92.04% 92.06% +0.02%
==========================================
Files 115 115
Lines 4073 4073
Branches 1064 1064
==========================================
+ Hits 3749 3750 +1
+ Misses 288 287 -1
Partials 36 36
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Hey @ashunar0, can you review this?
Maybe my explanation is not enough. In this middleware repo, "Author" means the author has responsibility for the middleware and must be a reviewer for it. This means the author is stronger than just a contributor. For now, I think we should keep @nkfr26 as a contributor. If @nkfr26 really wants to be an author, though, we can add @nkfr26 to the README. |
|
@nkfr26 Thanks for backfilling the tests for the The first test ( However, the second test ( To actually exercise the app.post('/users', (c) => c.render('Users/New', {}, { url: 'http://[bad' }))
|
The corresponding PR: #1991
I've added tests, as the tests for the implementation added later were missing.
Also, please let me know if I need to add myself to the Authors section in the README — I'll take care of it. I'm also planning to continue contributing (with at least two more feature proposals to come, btw).
The author should do the following, if applicable
yarn changesetat the top of this repo and push the changeset