aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/test/artifacts_test.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-03 20:32:38 +0800
committerGitHub <noreply@github.com>2018-07-03 20:32:38 +0800
commit0e690608d39c010740d9fdb9d8e6c12d7e6c4e80 (patch)
treee03b85876abc0de57755575287b89a79e7824296 /packages/contract-wrappers/test/artifacts_test.ts
parent518a2da0275632a5dd61f99a105163ff5a074927 (diff)
parent09e921a562bea4fa80ec19ce7a9061bbcffbd580 (diff)
downloaddexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar
dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar.gz
dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar.bz2
dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar.lz
dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar.xz
dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.tar.zst
dexon-sol-tools-0e690608d39c010740d9fdb9d8e6c12d7e6c4e80.zip
Merge pull request #782 from 0xProject/feature/contract-wrappers-v2
@0xproject/contract-wrappers V2 refactor. Part 1
Diffstat (limited to 'packages/contract-wrappers/test/artifacts_test.ts')
-rw-r--r--packages/contract-wrappers/test/artifacts_test.ts25
1 files changed, 10 insertions, 15 deletions
diff --git a/packages/contract-wrappers/test/artifacts_test.ts b/packages/contract-wrappers/test/artifacts_test.ts
index 39801df35..c05d513b3 100644
--- a/packages/contract-wrappers/test/artifacts_test.ts
+++ b/packages/contract-wrappers/test/artifacts_test.ts
@@ -10,7 +10,8 @@ chaiSetup.configure();
// Those tests are slower cause they're talking to a remote node
const TIMEOUT = 10000;
-describe('Artifacts', () => {
+// TODO: Re-enable those tests after final kovan and ropsten deployments are done.
+describe.skip('Artifacts', () => {
describe('contracts are deployed on kovan', () => {
const kovanRpcUrl = constants.KOVAN_RPC_URL;
const provider = web3Factory.getRpcProvider({ rpcUrl: kovanRpcUrl });
@@ -18,14 +19,11 @@ describe('Artifacts', () => {
networkId: constants.KOVAN_NETWORK_ID,
};
const contractWrappers = new ContractWrappers(provider, config);
- it('token registry contract is deployed', async () => {
- await (contractWrappers.tokenRegistry as any)._getTokenRegistryContractAsync();
+ it('erc20 proxy contract is deployed', async () => {
+ await (contractWrappers.erc20Proxy as any)._getTokenTransferProxyContractAsync();
}).timeout(TIMEOUT);
- it('proxy contract is deployed', async () => {
- await (contractWrappers.proxy as any)._getTokenTransferProxyContractAsync();
- }).timeout(TIMEOUT);
- it('exchange contract is deployed', async () => {
- await (contractWrappers.exchange as any)._getExchangeContractAsync();
+ it('erc721 proxy contract is deployed', async () => {
+ await (contractWrappers.erc721Proxy as any)._getTokenTransferProxyContractAsync();
}).timeout(TIMEOUT);
});
describe('contracts are deployed on ropsten', () => {
@@ -35,14 +33,11 @@ describe('Artifacts', () => {
networkId: constants.ROPSTEN_NETWORK_ID,
};
const contractWrappers = new ContractWrappers(provider, config);
- it('token registry contract is deployed', async () => {
- await (contractWrappers.tokenRegistry as any)._getTokenRegistryContractAsync();
- }).timeout(TIMEOUT);
- it('proxy contract is deployed', async () => {
- await (contractWrappers.proxy as any)._getTokenTransferProxyContractAsync();
+ it('erc20 proxy contract is deployed', async () => {
+ await (contractWrappers.erc20Proxy as any)._getTokenTransferProxyContractAsync();
}).timeout(TIMEOUT);
- it('exchange contract is deployed', async () => {
- await (contractWrappers.exchange as any)._getExchangeContractAsync();
+ it('erc721 proxy contract is deployed', async () => {
+ await (contractWrappers.erc721Proxy as any)._getTokenTransferProxyContractAsync();
}).timeout(TIMEOUT);
});
});