arya2004 / arya2004/auto-express
Add Unit Tests for CLI Argument Parsing
Open
good first issue
hacktoberfest
hacktoberfest-accepted
javascript
typescript
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Set up unit tests (with [Jest](https://jestjs.io/) or similar) to verify that CLI arguments are parsed correctly.
**How to do it:**
* Add Jest to dev dependencies:
```bash
npm install --save-dev jest
```
* Create `src/cli.test.js` and write tests for your argument parsing logic.
Contributor guide
Research direction
Start by locating the CLI argument-parsing logic that `src/cli.test.js` should cover, then review the Jest setup and dev-dependency configuration. The work is done when Jest is available and `src/cli.test.js` verifies that CLI arguments are parsed correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- express, node.js, typescript
- Domain
- cli, testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100