aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/test/global_hooks.ts
blob: 8731318e7e8dd078be75548761704385570a6d69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { devConstants } from '@0xproject/dev-utils';
import { runV2MigrationsAsync } from '@0xproject/migrations';

import { provider } from './utils/web3_wrapper';

before('migrate contracts', async function(): Promise<void> {
    // HACK: Since the migrations take longer then our global mocha timeout limit
    // we manually increase it for this before hook.
    const mochaTestTimeoutMs = 50000;
    this.timeout(mochaTestTimeoutMs); // tslint:disable-line:no-invalid-this
    const txDefaults = {
        gas: devConstants.GAS_LIMIT,
        from: devConstants.TESTRPC_FIRST_ADDRESS,
    };
    const artifactsDir = `src/artifacts`;
    await runV2MigrationsAsync(provider, artifactsDir, txDefaults);
});
='range'>range
path: root/misc/usbids
Commit message (Expand)AuthorAgeFilesLines
* Change MASTER_SITES to GitHubsunpoet2020-03-042-34/+6
* Update to 20200228sunpoet2020-03-022-6/+7
* Update to 20200109sunpoet2020-01-262-4/+4
* Update to 20191105sunpoet2019-11-142-4/+4
* Update to 20191025sunpoet2019-10-272-4/+4
* Update to 20190508sunpoet2019-05-262-4/+4
* Update to 20190320sunpoet2019-04-022-4/+4
* Update to 20190117sunpoet2019-02-142-4/+4
* Update to 20181204sunpoet2019-01-022-4/+4
* Update to 20181113sunpoet2018-11-162-4/+4
* Update to 20180815sunpoet2018-08-302-4/+4
* Use PORTDATAsunpoet2018-08-131-1/+1
* Update to 20180703sunpoet2018-07-302-4/+4
* Update to 20180504sunpoet2018-05-162-4/+4
* Update to 20180414sunpoet2018-04-162-4/+4
* Update to 20180323sunpoet2018-03-292-4/+4
* Update to 20180224sunpoet2018-03-042-4/+4
* Update to 20180104sunpoet2018-01-072-4/+4
* Update to 20171127sunpoet2017-12-112-4/+4
* Update to 20170910sunpoet2017-09-212-4/+4
* - Update to 20170729sunpoet2017-08-042-4/+4
* - Update to 20170622sunpoet2017-07-042-4/+4
* - Update to 20170212sunpoet2017-02-17