A 200 OK response can still contain the wrong total.

This is an invented order API. It is not a TestAcademy assessment problem.
The files run locally. They do not run in the TestAcademy browser editor.
Use Node.js 22 or newer. No package installation is needed for this example.

Open a terminal in this folder and start the working API:
  node server.mjs

Keep that terminal open. Open another terminal in the same folder and run:
  node --test status-only.test.mjs
  node --test total.test.mjs

Both tests pass.

In the first terminal, stop the API with Ctrl+C. Start its broken version:
  node server.mjs --broken

In the second terminal, run the same tests:
  node --test status-only.test.mjs
  node --test total.test.mjs

The status test passes. The total test fails.
The broken API returns 500 cents instead of the required 1000 cents.
Both versions return HTTP 200.

Stop the API with Ctrl+C when finished.
If port 3007 is already in use, stop that process or change the port in all files.
