From 6ba48241feb5df4dbbb18029621f7ce451ac68ad Mon Sep 17 00:00:00 2001 From: diegosouzapw Date: Sun, 22 Feb 2026 19:00:04 -0300 Subject: [PATCH] =?UTF-8?q?fix(test):=20align=20test=20script=20with=20tes?= =?UTF-8?q?t:unit=20=E2=80=94=20add=20tsx/esm=20loader?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 'test' script was missing '--import tsx/esm', causing 25 failures from Node ESM being unable to resolve extensionless TypeScript imports. The 'test:unit' script already had the loader and passed 368/368. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bc99aef827..a35c93a0ca 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "build:cli": "node scripts/prepublish.mjs", "start": "next start --port 20128", "lint": "eslint .", - "test": "node --test tests/unit/*.test.mjs", + "test": "node --import tsx/esm --test tests/unit/*.test.mjs", "test:unit": "node --import tsx/esm --test tests/unit/*.test.mjs", "test:plan3": "node --test tests/unit/plan3-p0.test.mjs", "test:fixes": "node --test tests/unit/fixes-p1.test.mjs",