From 4a344f421e84bffa79bc28414269c122b4b95db7 Mon Sep 17 00:00:00 2001 From: doron aviguy Date: Wed, 22 Jun 2022 15:19:21 +0300 Subject: [PATCH] add --no-expiermental-fetch flag to support nodejs 18 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8b5f080..1616636 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "author": "", "scripts": { "prettier": "npx prettier --write '{test,contracts,build}/**/*.{ts,js,json}'", - "test": "mocha --exit test/**/*.spec.ts", + "test": "node --no-experimental-fetch node_modules/mocha/bin/mocha --exit test/**/*.spec.ts", "build": "ts-node ./build/_build.ts", "deploy": "ts-node ./build/_deploy.ts", "deploy:testnet": "ts-node ./build/_deploy.ts",