From dd484930b1c562c723d1787bc9be55d8cdabbb65 Mon Sep 17 00:00:00 2001 From: Aitor <1726644+aaitor@users.noreply.github.com> Date: Fri, 6 Oct 2023 13:03:57 +0200 Subject: [PATCH] chore: linting --- package.json | 2 +- src/utils/config.ts | 2 +- test/helpers/Config.ts | 2 +- test/integration/Accounts.test.ts | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 525ed55..50bf757 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "ncli": "./dist/src/index.js" }, "dependencies": { - "@nevermined-io/sdk": "^2.0.0-rc12", + "@nevermined-io/sdk": "^2.0.0-rc15", "@nevermined-io/sdk-dtp": "^0.7.0-rc5", "chalk": "^4.1.2", "cross-fetch": "~3.1.5", diff --git a/src/utils/config.ts b/src/utils/config.ts index 4c212b6..f6ea5a6 100644 --- a/src/utils/config.ts +++ b/src/utils/config.ts @@ -1,4 +1,4 @@ -import ethers, { HDNodeWallet, Mnemonic } from 'ethers' +import ethers, { HDNodeWallet } from 'ethers' import dotenv from 'dotenv' import fs from 'fs' import { mkdirSync, writeFileSync } from 'fs' diff --git a/test/helpers/Config.ts b/test/helpers/Config.ts index 7e37c4e..5f2fa29 100644 --- a/test/helpers/Config.ts +++ b/test/helpers/Config.ts @@ -1,5 +1,5 @@ import { generateId, makeAccounts } from '@nevermined-io/sdk' -import { Mnemonic, ethers } from 'ethers' +import { ethers } from 'ethers' const NETWORK = process.env.NETWORK || 'geth-localnet' const BASE_COMMAND = `yarn start -n ${NETWORK}` diff --git a/test/integration/Accounts.test.ts b/test/integration/Accounts.test.ts index e5439a3..a19fed2 100644 --- a/test/integration/Accounts.test.ts +++ b/test/integration/Accounts.test.ts @@ -6,7 +6,6 @@ import { import execCommand from '../helpers/ExecCommand' describe('Assets e2e Testing', () => { - let accountAddress: string const abiPath = 'test/resources/nfts/TestNFT721.json' test('List all the accounts ', async () => {