ethers.js/tests/utils-ethers.js

11 lines
295 B
JavaScript
Raw Permalink Normal View History

2018-07-23 03:02:39 -04:00
var assert = require('assert');
function getEthers(filename) {
let ethers = require('../index');
console.log('Loaded local ethers: ' + filename);
assert.equal(ethers.platform, 'node', 'platform: ' + ethers.platform + ' != "node"');
return ethers;
}
module.exports = getEthers;