parent
0d9b667e1b
commit
2176ad1f27
@ -1,12 +1,11 @@ |
||||
/* global describe it*/ |
||||
var should = require('should') |
||||
|
||||
'use strict' |
||||
var tape = require('tape') |
||||
var init = require('../src/helpers/init') |
||||
describe('index', function () { |
||||
describe('loadContext', function () { |
||||
it('web3', function () { |
||||
var context = init.loadContext() |
||||
should.exist(context.web3) |
||||
}) |
||||
tape('index', function (t) { |
||||
t.test('loadContext - web3', function (st) { |
||||
var context = init.loadContext() |
||||
st.notEqual(context.web3, undefined) |
||||
st.notEqual(context.web3, null) |
||||
st.end() |
||||
}) |
||||
}) |
||||
|
@ -0,0 +1,2 @@ |
||||
'use strict' |
||||
require('./index.js') |
Loading…
Reference in new issue