UNPKG

@usecannon/ganache

Version:

A library and cli to create a local blockchain for fast Ethereum development.

15 lines (11 loc) 364 B
'use strict' module.exports = function (test, testCommon) { test('setUp common', testCommon.setUp) test('test database open method exists', function (t) { const db = testCommon.factory() t.ok(db, 'database object returned') t.ok(typeof db.open === 'function', 'open() function exists') t.end() }) test('tearDown', testCommon.tearDown) }