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.3.2528 Apr 202138
5.3.241 Apr 202138
5.3.2317 Mar 202138
5.3.23-multiplex.016 Mar 202138
5.3.2224 Feb 202138
5.3.2110 Feb 202138
5.3.2026 Jan 202138
5.3.1913 Jan 202138
5.3.184 Jan 202138
5.3.1723 Dec 202038
5.3.1617 Dec 202038
5.3.159 Dec 202038
5.3.147 Dec 202038
5.3.133 Dec 202038
5.3.1219 Nov 202038
5.3.1113 Nov 202038
5.3.103 Nov 202038
5.3.93 Nov 202038
5.3.82 Nov 202038
5.3.728 Oct 202038

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