From 850a29c22da354c3295b174916a05db0d8c47971 Mon Sep 17 00:00:00 2001 From: Jochen Ulrich Date: Wed, 22 Nov 2023 22:19:22 +0100 Subject: [PATCH] build: Fix loader parameter for older Node versions --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 4a1b04f..26d131d 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "index.js" ], "scripts": { - "test": "node --experimental-loader=testdouble ./node_modules/ava/entrypoints/cli.mjs --serial", - "test+coverage": "npx c8 node --experimental-loader=testdouble ./node_modules/ava/entrypoints/cli.mjs --serial", + "test": "node --loader=testdouble ./node_modules/ava/entrypoints/cli.mjs --serial", + "test+coverage": "npx c8 node --loader=testdouble ./node_modules/ava/entrypoints/cli.mjs --serial", "lint": "npx eslint .", "release": "npx release-it" },