Skip to content

Mohamad Bader AA#6

Open
noneeeed wants to merge 2 commits intoHackYourAssignment:mainfrom
noneeeed:main
Open

Mohamad Bader AA#6
noneeeed wants to merge 2 commits intoHackYourAssignment:mainfrom
noneeeed:main

Conversation

@noneeeed
Copy link

No description provided.

@github-actions
Copy link

📝 HackYourFuture auto grade

Assignment Score: 76 / 100 ✅

Status: ✅ Passed
Minimum score to pass: 50
🧪 The auto grade is experimental and still being improved

Test Details
TypeError: Cannot destructure property 'name' of 'req.body' as it is undefined.
    at file:///home/runner/work/c55-core-week-9/c55-core-week-9/assignment/task-1/server/server.js:53:11
    at Layer.handleRequest (/home/runner/work/c55-core-week-9/c55-core-week-9/assignment/node_modules/router/lib/layer.js:152:17)
    at next (/home/runner/work/c55-core-week-9/c55-core-week-9/assignment/node_modules/router/lib/route.js:157:13)
    at Route.dispatch (/home/runner/work/c55-core-week-9/c55-core-week-9/assignment/node_modules/router/lib/route.js:117:3)
    at handle (/home/runner/work/c55-core-week-9/c55-core-week-9/assignment/node_modules/router/index.js:435:11)
    at Layer.handleRequest (/home/runner/work/c55-core-week-9/c55-core-week-9/assignment/node_modules/router/lib/layer.js:152:17)
    at /home/runner/work/c55-core-week-9/c55-core-week-9/assignment/node_modules/router/index.js:295:15
    at processParams (/home/runner/work/c55-core-week-9/c55-core-week-9/assignment/node_modules/router/index.js:582:12)
    at next (/home/runner/work/c55-core-week-9/c55-core-week-9/assignment/node_modules/router/index.js:291:5)
    at read (/home/runner/work/c55-core-week-9/c55-core-week-9/assignment/node_modules/body-parser/lib/read.js:53:5)
Vitest unit test results:

✅ post.sh: Script exists
❌ post.sh: Create user John Doe
✅ patch.sh: Script exists
❌ patch.sh: Correct the email address
✅ get.sh: Script exists
❌ get.sh: Retrieve user John Doe details
✅ delete.sh: Script exists
❌ delete.sh: Delete user John Doe
✅ get.sh: Verify user John Doe has been deleted
✅ Uses the correct base URL
✅ URL includes the nobelPrizeYear query parameter
✅ URL includes the nobelPrizeCategory query parameter
✅ URL includes the offset query parameter
✅ URL includes the limit query parameter
✅ Omits the nobelPrizeYear when set to "all"
✅ Omits the nobelPrizeCategory when set to "all"
✅ Includes the sort query parameter set to desc

Total passed: 13
Total failed: 4
Killed

Copy link

@JalalHabeeb JalalHabeeb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants