From 9fe9567022ae579843d284d3f16fac9a543ff635 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Wed, 13 Dec 2023 10:59:29 +0200 Subject: [PATCH] feature: rm useless zenload --- .madrun.js | 3 +-- package.json | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.madrun.js b/.madrun.js index e4c33e4..3c3e00d 100644 --- a/.madrun.js +++ b/.madrun.js @@ -3,10 +3,9 @@ import { cutEnv, } from 'madrun'; -const NODE_OPTIONS = `'--no-warnings --loader zenload'`; +const NODE_OPTIONS = `'--no-warnings --import ./lib/register.js'`; const testEnv = { NODE_OPTIONS, - ZENLOAD: ['escover', './lib/mock-import.js'].join(), }; export default { diff --git a/package.json b/package.json index 01cc0f6..7ef8643 100644 --- a/package.json +++ b/package.json @@ -55,8 +55,7 @@ "nodemon": "^3.0.1", "runsome": "^1.0.0", "supertape": "^9.0.0", - "typescript": "^5.0.4", - "zenload": "^2.0.0" + "typescript": "^5.0.4" }, "engines": { "node": ">=18"