More cleaner hook syntax
Open
enhancement
- Dominant language
- CoffeeScript
- Stars
- 352
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
Current hook syntax is a bit unclear, propose
``` coffee
hook 'GET /path'
.before (test, done) ->
done()
.after (test, done) ->
done()
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the existing hook syntax and its parsing or execution entry point in the abao codebase. Compare it with the proposed `.before` and `.after` form, then identify the relevant tests or add coverage that demonstrates the new syntax works for a GET hook.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- coffeescript
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100