0.0.9 • Published 5 years ago
truffle-expect v0.0.9
truffle-expect
Simple module for ensuring expected parameters exist
install
$ npm install truffle-expect
Usage
var expect = require("truffle-expect");
// The object you're testing
var options = {
example: "exists"
another: 5
};
expect.options(options, ["example", "another"]); // does nothing
expect.options(options, ["example", "another", "some_other_key"]); // errors because options["some_other_key"] is undefined
0.1.0-ens-events.1
5 years ago
0.0.11-ens.0
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.5-beta.0
5 years ago
0.0.4
6 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago