From c4e34f216789aa0143be137c368ed83955c0b839 Mon Sep 17 00:00:00 2001 From: Marcus Armstrong Date: Wed, 6 Mar 2024 10:47:24 -0700 Subject: [PATCH] Specifically name test files for node 21 compat (#1) --- packages/eslint-plugin/package.json | 2 +- packages/lifetimes/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index e8cf558..29eaac7 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -44,7 +44,7 @@ "typescript": "5.3.3" }, "scripts": { - "build": "tsc && rollup -c && node --test dist" + "build": "tsc && rollup -c && node --test dist/index.test.mjs" }, "eslintConfig": { "root": true, diff --git a/packages/lifetimes/package.json b/packages/lifetimes/package.json index 6c806df..88d7595 100644 --- a/packages/lifetimes/package.json +++ b/packages/lifetimes/package.json @@ -25,7 +25,7 @@ } }, "scripts": { - "build": "tsc && rollup -c && node --test dist" + "build": "tsc && rollup -c && node --test dist/lifetimes.test.js" }, "files": [ "dist/lifetimes.d.ts",