Refactor contracts-* exports so none in test dir so npmignore works as intended

This commit is contained in:
fabioberger
2019-11-11 21:49:29 +00:00
parent 67e7b5c124
commit 6324a92ec5
64 changed files with 72 additions and 294 deletions

View File

@@ -5,9 +5,9 @@ import * as chai from 'chai';
import { LogWithDecodedArgs, Provider, TransactionReceiptWithDecodedLogs } from 'ethereum-types';
import * as _ from 'lodash';
import { ERC1155MintableContract, ERC1155TransferSingleEventArgs } from '../../src/wrappers';
import { ERC1155MintableContract, ERC1155TransferSingleEventArgs } from './wrappers';
import { artifacts } from '../artifacts';
import { artifacts } from './artifacts';
const expect = chai.expect;

View File

@@ -1,3 +1,3 @@
export * from './wrappers';
export * from './artifacts';
export { Erc1155Wrapper } from '../test/utils/erc1155_wrapper';
export { Erc1155Wrapper } from './erc1155_wrapper';

View File

@@ -16,7 +16,7 @@ import * as _ from 'lodash';
import { ERC1155MintableContract } from '../src/wrappers';
import { artifacts } from './artifacts';
import { Erc1155Wrapper } from './utils/erc1155_wrapper';
import { Erc1155Wrapper } from '../src/erc1155_wrapper';
import { DummyERC1155ReceiverBatchTokenReceivedEventArgs, DummyERC1155ReceiverContract } from './wrappers';
chaiSetup.configure();
const expect = chai.expect;