From b29fc4b183ae0f79abd8dec1703148c2569926bc Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Wed, 3 Sep 2025 14:47:43 +0200 Subject: [PATCH] avoid warnings on test --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 35d9c2f..b675841 100755 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "build:frontend": "vite build", "format": "prettier --write \"**/*.js\"", "format:check": "prettier --check \"**/*.js\"", - "test": "mocha --loader=esmock --timeout 60000 test/**/*.test.js", + "test": "node --import ./test/esmock-loader.mjs ./node_modules/mocha/bin/mocha.js --timeout 60000 test/**/*.test.js", "lint": "eslint .", "lint:fix": "yarn lint --fix" },