Tests TODO
See original GitHub issueThe final goal is of this issue is to achieve ~80-100% coverage
here’s a todo list of things that require tests (based on the __tests__
folder):
⚠️ List is in progress, I’ll be adding new test tasks over time, here are some that you can submit already
- core
- modules
- accepts
- cookie-signature
- cookie
- etag (#133)
- req (#140)
- res
-
res.format
- ifdefault
only is specified, call it as a function (codecov) -
res.format
- if nothing is specified, throw 406 (codecov)
-
- router
- send (#143)
- wares
- cookie-parser
- cors
- Accept a function to set origin
- dotenv
- favicon
- jwt
- Should work with different algorithms (codecov) [pending]
- logger
- ping
- bot-detector (#111)
- ip-filter
- jsonp (#123)\
If you want to help with tests, write down to this thread with your questions
Issue Analytics
- State:
- Created 3 years ago
- Comments:42 (29 by maintainers)
Top Results From Across the Web
Use test.todo() when writing Jest tests. - DEV Community
A quick solution to this if you are using Jest is to build your test suite, and replace your tests with test TODOS!...
Read more >How to use test.todo() in Jest | heyfirst.co - First Sutham
todo () in Jest. developer experiencejavascriptjesttesting. Heyo! I learn a cool thing when I do pair programming with ...
Read more >Globals - Jest
In your test files, Jest puts each of these methods and objects into the global ... fn); test.skip.each(table)(name, fn); test.todo(name).
Read more >QUnit.test.todo()
Add a test which expects at least one failing assertion or exception during its run. parameter, description. name (string), Title of unit being...
Read more >react-testing-library TodoList example - CodeSandbox
react-testing-library TodoList example. 0. Embed Fork Create Sandbox Sign in. Sandbox Info ... __tests__. TodoList.js. index.js. styles.css. package.json.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@alcar check this => https://github.com/talentlessguy/tinyhttp/issues/163
@alcar i will setup an issue for testing
@tinyhttp/session
for you tomorrow