Index.js
This commit is contained in:
parent
0aa9153b74
commit
ce70cefad4
|
@ -0,0 +1,3 @@
|
||||||
|
|
||||||
|
exports.LiquidPledging = require('./js/liquidPledging.js');
|
||||||
|
exports.Vault = require('./js/vault.js');
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "liquidpledging",
|
"name": "liquidpledging",
|
||||||
"version": "0.0.1",
|
"version": "0.0.2",
|
||||||
"description": "Liquid Pledging Smart Contract",
|
"description": "Liquid Pledging Smart Contract",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|
|
@ -3,10 +3,11 @@
|
||||||
const ethConnector = require('ethconnector');
|
const ethConnector = require('ethconnector');
|
||||||
const chai = require('chai');
|
const chai = require('chai');
|
||||||
const getBalance = require('runethtx').getBalance;
|
const getBalance = require('runethtx').getBalance;
|
||||||
const LiquidPledging = require('../js/liquidPledging.js')(true);
|
const liquidpledging = require('../index.js');
|
||||||
const Vault = require('../js/vault.js');
|
|
||||||
const assertFail = require('./helpers/assertFail');
|
const assertFail = require('./helpers/assertFail');
|
||||||
|
|
||||||
|
const LiquidPledging = liquidpledging.LiquidPledging(true);
|
||||||
|
const Vault = liquidpledging.Vault;
|
||||||
const assert = chai.assert;
|
const assert = chai.assert;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue