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
5.4.1931 Mar 202238
5.4.182 Mar 202238
5.4.1722 Feb 202238
5.4.1624 Dec 202138
5.4.151 Dec 202138
5.4.1416 Nov 202138
5.4.133 Nov 202138
5.4.1219 Oct 202138
5.4.1115 Sept 202138
5.4.101 Sept 202138
5.4.919 Aug 202138
5.4.816 Aug 202138
5.4.711 Aug 202138
5.4.66 Aug 202138
5.4.522 Jun 202138
5.4.411 Jun 202138
5.4.32 Jun 202138
5.4.225 May 202138
5.4.121 May 202138
5.4.05 May 202138

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