@0x/contracts-test-utils
Test utils for 0x contracts
Last updated 3 months ago by dekz .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @0x/contracts-test-utils 
SYNC missed versions from official npm registry.

Contracts test utils

This package contains test utilities used by other smart contracts packages.

Usage

import {
    chaiSetup,
    constants,
    expectContractCallFailedAsync,
    expectContractCreationFailedAsync,
    expectTransactionFailedAsync,
    expectTransactionFailedWithoutReasonAsync,
    increaseTimeAndMineBlockAsync,
    provider,
    sendTransactionResult,
    txDefaults,
    web3Wrapper,
} from '@0x/contracts-test-utils';

Contributing

We strongly recommend that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository.

Please read our contribution guidelines before getting started.

Install Dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

yarn config set workspaces-experimental true

Then install dependencies

yarn install

Build

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

PKG=@0x/contracts-test-utils yarn build

Or continuously rebuild on change:

PKG=@0x/contracts-test-utils yarn watch

Clean

yarn clean

Lint

yarn lint

Run Tests

yarn test

Current Tags

  • 5.3.2                                ...           latest (3 months ago)
  • 3.2.0-beta.4                                ...           protocolV3 (6 months ago)

48 Versions

  • 5.3.2                                ...           3 months ago
  • 5.3.1                                ...           3 months ago
  • 5.3.0                                ...           3 months ago
  • 5.1.5                                ...           3 months ago
  • 5.1.4                                ...           4 months ago
  • 5.1.3                                ...           4 months ago
  • 5.1.2                                ...           4 months ago
  • 5.1.1                                ...           4 months ago
  • 5.1.0                                ...           5 months ago
  • 5.0.1                                ...           5 months ago
  • 5.0.0                                ...           6 months ago
  • 4.0.0                                ...           6 months ago
  • 3.2.0-beta.4                                ...           6 months ago
  • 3.2.0-beta.3                                ...           6 months ago
  • 3.2.0-beta.2                                ...           6 months ago
  • 3.2.0-beta.1                                ...           7 months ago
  • 3.2.0-beta.0                                ...           8 months ago
  • 3.1.16                                ...           8 months ago
  • 3.1.15                                ...           9 months ago
  • 3.1.14                                ...           9 months ago
  • 3.1.13                                ...           10 months ago
  • 3.1.12                                ...           10 months ago
  • 3.1.11                                ...           10 months ago
  • 3.1.10                                ...           10 months ago
  • 3.1.9                                ...           a year ago
  • 3.1.8                                ...           a year ago
  • 3.1.7                                ...           a year ago
  • 3.1.6                                ...           a year ago
  • 3.1.5                                ...           a year ago
  • 3.1.3                                ...           a year ago
  • 3.1.2                                ...           a year ago
  • 3.1.1                                ...           a year ago
  • 3.1.0                                ...           a year ago
  • 3.0.8                                ...           a year ago
  • 3.0.7                                ...           a year ago
  • 3.0.6                                ...           a year ago
  • 3.0.5                                ...           a year ago
  • 3.0.4                                ...           a year ago
  • 3.0.3                                ...           a year ago
  • 3.0.2                                ...           a year ago
  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago

Copyright 2014 - 2016 © taobao.org |