koajs / koajs/send

add more tests for `extensions option`

Open
#67 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
433
Forks
86
PR merge metrics
No merged PRs in 30d

Description

* should not search if path has extension
* should skip directories

Contributor guide

Open the contributing guide

Research direction

Locate the existing tests and implementation for the `extensions` option, then read how paths and directories are handled. Add coverage for paths that already have an extension and for directories being skipped, and run the relevant test suite to confirm both cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.