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