message: CHANGED Account.spec adding the hexa case for signData
diff: @@ -46,7 +46,8 @@ describe('Account', () => {
  expect(account.address).to.not.be.equal(undefined);
  });
  - it('signData', () => {
  + describe('signData', () => {
  + it('utf-8', () => {
  const account = Account.createFromPrivateKey(
  'AB860ED1FE7C91C02F79C02225DAC708D7BD13369877C1F59E678CC587658C47',
  NetworkType.MIJIN_TEST,
  @@ -56,4 +57,16 @@ describe('Account', () => {
  expect(publicAccount.verifySignature('catapult rocks!', signed))
  .to.be.true;
  });
  +
  + it('hexa', () => {
  + const account = Account.createFromPrivateKey(
  + 'AB860ED1FE7C91C02F79C02225DAC708D7BD13369877C1F59E678CC587658C47',
  + NetworkType.MIJIN_TEST,
  + );
  + const publicAccount = account.publicAccount;
  + const signed = account.signData('0xAA');
  + expect(publicAccount.verifySignature('0xAA', signed))
  + .to.be.true;
  + });
  + });
  });
  