We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79a6a07 commit bf52055Copy full SHA for bf52055
tests/index.js
@@ -1,8 +1,8 @@
1
const EtherscanAPI = require('../build')
2
3
test('Etherscan instance', () => {
4
- const etherscan1 = new EtherscanAPI()
5
- expect(etherscan1.token).toBe('YourApiKeyToken')
+ const etherscan1 = new EtherscanAPI('SomeToken')
+ expect(etherscan1.token).toBe('SomeToken')
6
expect(etherscan1.network).toBe('MAIN')
7
expect(etherscan1.host).toBe('https://api.etherscan.io')
8
0 commit comments