import * as assert from 'assert'; import IconService from '../lib'; const tests = [{ privateKey: '38f792b95a5202ab431bfc799f7e1e5c74ec0b9ede5c6142ee7364f2c84d72f6', }, { privateKey: '7271bcada70fda2890708655a249856222daa6a1df581478c9660b2012957245', }]; describe('Wallet', () => { describe('getPrivateKey()', () => { tests.forEach((test) => { const wallet = IconService.IconWallet.loadPrivateKey(test.privateKey); it('should be same', () => { assert.strictEqual(wallet.getPrivateKey(), test.privateKey); }); }); }); });