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.3924 Oct 202240
5.4.3821 Oct 202240
5.4.3711 Oct 202240
5.4.365 Oct 202240
5.4.3521 Sept 202238
5.4.3412 Sept 202238
5.4.337 Sept 202238
5.4.322 Sept 202238
5.4.311 Sept 202238
5.4.3025 Aug 202238
5.4.2925 Aug 202238
5.4.2822 Aug 202238
5.4.2710 Aug 202238
5.4.269 Aug 202238
5.4.256 Aug 202238
5.4.2427 Jul 202238
5.4.2314 Jun 202238
5.4.223 Jun 202238
5.4.2119 May 202238
5.4.2022 Apr 202238

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