diff --git a/tests/index.ts b/tests/index.ts index 164c0947..c03816b8 100644 --- a/tests/index.ts +++ b/tests/index.ts @@ -3,6 +3,9 @@ import 'dotenv/config'; import assert from 'node:assert/strict'; import {test} from 'node:test'; +// @ts-expect-error This is usually injected by tsup +globalThis.TSUP_IS_NODE = true; + import {id, Hop, validateId} from '../src/index.js'; const BASE_URL =