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.60Registry latest16 Nov 202339
5.4.5929 Aug 202339
5.4.5818 Aug 202339
5.4.579 Aug 202339
5.4.5621 Jul 202339
5.4.5519 Jul 202339
5.4.5410 May 202339
5.4.531 May 202339
5.4.5220 Apr 202339
5.4.5117 Apr 202339
5.4.4910 Mar 202339
5.4.481 Mar 202339
5.4.471 Feb 202339
5.4.4630 Jan 202339
5.4.4523 Jan 202339
5.4.4412 Dec 202240
5.4.4323 Nov 202240
5.4.4215 Nov 202240
5.4.415 Nov 202240
5.4.402 Nov 202240

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