Catalog npm
PACKAGE EXPLORERView in registry

@0x/contracts-test-utils

npm

Test utils for 0x contracts

Versions collected132
Direct dependencies39From release 5.4.60
Last observed20 Oct, 22:26 UTC

README

Current package documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 132

Collected releases
VersionPublishedDirect dependenciesOpen version
3.2.0-beta.03 Oct 201933
3.1.1617 Sept 201933
3.1.153 Sept 201933
3.1.1422 Aug 201933
3.1.138 Aug 201933
3.1.1231 Jul 201933
3.1.1124 Jul 201932
3.1.1015 Jul 201932
3.1.913 Jul 201932
3.1.813 Jul 201932
3.1.724 May 201933
3.1.615 May 201933
3.1.514 May 201933
3.1.310 May 201933
3.1.211 Apr 201933
3.1.121 Mar 201933
3.1.020 Mar 201933
3.0.81 Mar 201933
3.0.727 Feb 201933
3.0.626 Feb 201933

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xproject/protocol

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
0xproject/0x-monorepo

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:26 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:6670d97dd1e4061d4c4e9f53f6a8bd56491fbac3c5504bde95e52ea1f4c4b3c7