From 034d5a1cf3e78a14b0b492d61e2ce45b0fa6ade3 Mon Sep 17 00:00:00 2001 From: holgerd77 Date: Mon, 27 May 2019 23:54:40 +0200 Subject: [PATCH] Expose FakeTransaction as FakeTransaction, import from module in tests --- src/index.ts | 2 +- test/fake.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index d2e8c93..5f3cab2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,3 @@ export { default as Transaction } from './transaction' -export { default as Fake } from './fake' +export { default as FakeTransaction } from './fake' export * from './types' diff --git a/test/fake.ts b/test/fake.ts index ef04bcd..d2c4c5c 100644 --- a/test/fake.ts +++ b/test/fake.ts @@ -2,7 +2,7 @@ import * as tape from 'tape' import { Buffer } from 'buffer' import { bufferToHex } from 'ethereumjs-util' import Common from 'ethereumjs-common' -import FakeTransaction from '../src/fake' +import { FakeTransaction } from '../src' import { FakeTxData } from './types' // Use private key 0x0000000000000000000000000000000000000000000000000000000000000001 as 'from' Account