aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-06-27 16:25:33 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-29 22:52:52 +0800
commit32da0a376a8a5876e81d65e812029896cb851a88 (patch)
treef651aec0152bea143e9d335b2f35081a5bd1dfc8 /packages/contract-wrappers/test
parent073e76ee9097f0167b295458521782c483f6f452 (diff)
downloaddexon-sol-tools-32da0a376a8a5876e81d65e812029896cb851a88.tar
dexon-sol-tools-32da0a376a8a5876e81d65e812029896cb851a88.tar.gz
dexon-sol-tools-32da0a376a8a5876e81d65e812029896cb851a88.tar.bz2
dexon-sol-tools-32da0a376a8a5876e81d65e812029896cb851a88.tar.lz
dexon-sol-tools-32da0a376a8a5876e81d65e812029896cb851a88.tar.xz
dexon-sol-tools-32da0a376a8a5876e81d65e812029896cb851a88.tar.zst
dexon-sol-tools-32da0a376a8a5876e81d65e812029896cb851a88.zip
Skip & refactor artifacts tests
Diffstat (limited to 'packages/contract-wrappers/test')
-rw-r--r--packages/contract-wrappers/test/artifacts_test.ts24
1 files changed, 9 insertions, 15 deletions
diff --git a/packages/contract-wrappers/test/artifacts_test.ts b/packages/contract-wrappers/test/artifacts_test.ts
index 39801df35..463d322db 100644
--- a/packages/contract-wrappers/test/artifacts_test.ts
+++ b/packages/contract-wrappers/test/artifacts_test.ts
@@ -10,7 +10,7 @@ chaiSetup.configure();
// Those tests are slower cause they're talking to a remote node
const TIMEOUT = 10000;
-describe('Artifacts', () => {
+describe.skip('Artifacts', () => {
describe('contracts are deployed on kovan', () => {
const kovanRpcUrl = constants.KOVAN_RPC_URL;
const provider = web3Factory.getRpcProvider({ rpcUrl: kovanRpcUrl });
@@ -18,14 +18,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 +32,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);
});
});