11 lines
295 B
JavaScript
11 lines
295 B
JavaScript
var assert = require('assert');
|
|
|
|
function getEthers(filename) {
|
|
var ethers = require('../index');
|
|
console.log('Loaded local ethers: ' + filename);
|
|
assert.equal(ethers.platform, 'node', 'platform: ' + ethers.platform + ' != "node"');
|
|
return ethers;
|
|
}
|
|
|
|
module.exports = getEthers;
|