added 659 packages, and audited 1856 packages in 13s 135 packages are looking for funding run `npm fund` for details 17 vulnerabilities (1 low, 8 moderate, 4 high, 4 critical) To address all issues, run: npm audit fix Run `npm audit` for details. > test > TS_NODE_COMPILER_OPTIONS='{"allowImportingTsExtensions": true}' mocha --require ts-node/register test/**/*.spec.ts (node:3688) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`: --import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));' (Use `node --trace-warnings ...` to show where the warning was created) Authentication ✔ should allow a valid token to generate an internal jwt (47ms) ✔ should not allow an invalid token to generate an internal jwt Login ✔ should allow a valid user to login (150ms) ✔ should not allow an invalid user to login (118ms) - should allow a logged in user to log out User GET /users ✔ should list all users if authorized ✔ should list only authorized users ✔ should not list users if not authorized POST /users ✔ should create a new user if authorized (120ms) ✔ should not create a new user if not authorized ✔ should not create a new user if username is already taken (118ms) 10 passing (1s) 1 pending