Tell us what’s happening:
Build a Bank API - Lesson 13
I have followed the exact steps mentioned in the lesson but the test does not pass it. I’ve pasted the console output for the failing test along with the screenshots of my code and tests. Please let me know what’s wrong here:
Console output:
{
“message”: “The `POST /transfer` handler should set `err.status = 404` when the sender is not found: expected -1 to be above -1”,
“showDiff”: true,
“actual”: -1,
“expected”: -1,
“operator”: “notStrictEqual”,
“stack”: “AssertionError: The `POST /transfer` handler should set `err.status = 404` when the sender is not found: expected -1 to be above -1\n at eval (eval at (file:///workspaces/back-end-development-and-apis/node_modules/@freecodecamp/freecodecamp-os/.freeCodeCamp/tooling/tests/test-worker.js:25:29), :6:8)\n at async MessagePort. (file:///workspaces/back-end-development-and-apis/node_modules/@freecodecamp/freecodecamp-os/.freeCodeCamp/tooling/tests/test-worker.js:25:23)”,
“type”: “AssertionError”
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36
Challenge Information:
Build a Bank API - Build a Bank API


