From 24d5fa2e0a050087b79c29a93f97a1a6102b08da Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Tue, 7 Jul 2020 15:32:13 +0530 Subject: [PATCH] test working for remix-tests --- libs/remix-tests/package.json | 2 +- package-lock.json | 6 ++++++ package.json | 1 + tsconfig.json | 2 +- 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libs/remix-tests/package.json b/libs/remix-tests/package.json index b5069774c5..7fe9301fd4 100644 --- a/libs/remix-tests/package.json +++ b/libs/remix-tests/package.json @@ -20,7 +20,7 @@ "scripts": { "build": "tsc", "lint": "standard", - "test": "./../../node_modules/.bin/mocha --require ts-node/register tests/*.ts -t 300000", + "test": "./../../node_modules/.bin/mocha --require ts-node/register --require tsconfig-paths/register tests/*.ts -t 300000", "prepublish": "npm run build" }, "repository": { diff --git a/package-lock.json b/package-lock.json index 952fa66be3..66e5d239bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2371,6 +2371,12 @@ "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==", "dev": true }, + "@types/mocha": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-7.0.2.tgz", + "integrity": "sha512-ZvO2tAcjmMi8V/5Z3JsyofMe3hasRcaw88cto5etSVMwVQfeivGAlEYmaQgceUSVYFofVjT+ioHsATjdWcFt1w==", + "dev": true + }, "@types/node": { "version": "8.9.5", "resolved": "https://registry.npmjs.org/@types/node/-/node-8.9.5.tgz", diff --git a/package.json b/package.json index 58960a9ef8..c15afe374c 100644 --- a/package.json +++ b/package.json @@ -165,6 +165,7 @@ "@remix-project/remix-solidity": "0.3.30", "@remix-project/remix-tests": "0.1.33", "@resolver-engine/imports": "^0.3.0", + "@types/mocha": "^7.0.2", "@types/node": "~8.9.4", "@typescript-eslint/eslint-plugin": "^3.3.0", "@typescript-eslint/parser": "^3.3.0", diff --git a/tsconfig.json b/tsconfig.json index 520916a6fb..e0f201d56f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,7 @@ "@remix-project/remix-debug": ["libs/remix-debug/index.js"], "@remix-project/remix-lib": ["dist/libs/remix-lib/index.js"], "@remix-project/remix-simulator": ["libs/remix-simulator/index.js"], - "@remix-project/remix-solidity": ["libs/remix-solidity/index.ts"], + "@remix-project/remix-solidity": ["libs/remix-solidity/src/index.ts"], "@remix-project/remix-tests": ["libs/remix-tests/src/index.ts"], "@remix-project/remix-url-resolver": ["libs/remix-url-resolver/src/index.ts"] }