FAILED TEST LOG
✘ SUBTASKS 1.1 :7 Your script should prompt for a username
Error: Timeout of 7500ms exceeded. For async tests and hooks, ensure “done()” is called; if returning a Promise, ensure it resolves. (/workspace/project/.freeCodeCamp/test/1.1.test.js)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
✘ SUBTASKS 1.1 :8 Your script should print the correct welcome message for returning users
Error: Timeout of 7500ms exceeded. For async tests and hooks, ensure “done()” is called; if returning a Promise, ensure it resolves. (/workspace/project/.freeCodeCamp/test/1.1.test.js)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
✘ SUBTASKS 1.1 :10 Your script should print the correct initial message to prompt a user for a guess
Error: Timeout of 7500ms exceeded. For async tests and hooks, ensure “done()” is called; if returning a Promise, ensure it resolves. (/workspace/project/.freeCodeCamp/test/1.1.test.js)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
✘ SUBTASKS 1.1 :12 Your script should print the correct message if users enter a guess other than a number
Error: Timeout of 7500ms exceeded. For async tests and hooks, ensure “done()” is called; if returning a Promise, ensure it resolves. (/workspace/project/.freeCodeCamp/test/1.1.test.js)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
Here are the errors I’ve been getting in the Output.
✘ SUBTASKS 1.1 :13 Your script should print the correct message when a game is finished
Error: Timeout of 7500ms exceeded. For async tests and hooks, ensure “done()” is called; if returning a Promise, ensure it resolves. (/workspace/project/.freeCodeCamp/test/1.1.test.js)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
✘ SUBTASKS 1.1 :16 You should submit your project while on the “main” branch of your repository with a clean working tree
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(/On branch main\s/.test(commandOutput) && /working tree clean/.test(commandOutput))
at Context. (test/1.1.test.js:164:5)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)