From c61df6cb91a067e4320c695ab0f5cc41a0ff8cae Mon Sep 17 00:00:00 2001 From: Ged <97693615+0xged@users.noreply.github.com> Date: Thu, 24 Mar 2022 15:30:05 -0300 Subject: [PATCH] fix: eth-sdk path to cjs (#57) --- test/unit/Greeter.spec.ts | 1 - tsconfig.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/unit/Greeter.spec.ts b/test/unit/Greeter.spec.ts index 1703a84..65081a5 100644 --- a/test/unit/Greeter.spec.ts +++ b/test/unit/Greeter.spec.ts @@ -13,7 +13,6 @@ describe('Greeter', () => { before(async () => { greeterFactory = await smock.mock('Greeter'); greeter = await greeterFactory.deploy('Hello, world!'); - snapshotId = await evm.snapshot.take(); }); diff --git a/tsconfig.json b/tsconfig.json index 40ed7ba..7369bcb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,7 +16,7 @@ "@utils/*": ["test/utils/*"], "@e2e/*": ["test/e2e/*"], "@unit/*": ["test/unit/*"], - "@eth-sdk-types": ["node_modules/.dethcrypto/eth-sdk-client/esm/types"] + "@eth-sdk-types": ["node_modules/.dethcrypto/eth-sdk-client/cjs/types"] } }, "include": ["./scripts", "./deploy", "./test"],