/** * Jest setup: register the Node.js platform implementations. * * The unit suites import core modules directly rather than going through the * package entry point, so nothing would otherwise call registerSecureMemory / * registerHttpClient. Importing src/node.ts performs that registration exactly * as the published Node bundle does. * * Doing this here rather than falling back to a runtime `require('./node')` * inside the core modules keeps that require out of the built bundles, where * the relative path does not exist and bundlers would fail to resolve it. */ import '../src/node';