/** * Smoke test for the **extracted / shared** Mongo-init pattern under `node:test`. * * This is a SECOND suite file in the same run: it proves the global-setup entry * (`globalSetupNodeTest.ts`, wired via `--test-global-setup`) starts Mongo ONCE * and shares it across every `*.node-test.ts` file via `TEST_MONGO_URI`. This * file starts nothing itself — it asserts the URI arrived from the entry module * and that it got its own fresh per-suite DB off the shared instance. * * The per-file server lifecycle comes from the shipped `setupNodeTest.ts` glue * (it wires the idempotent server-readiness hook but never touches Mongo init). Runs as * part of the native test suite. */ import './setupNodeTest.ts';