message: EDCSA derive test
diff: @@ -10,7 +10,15 @@ import Keyring from '.';
  const PHRASE = 'bottom drive obey lake curtain smoke basket hold race lonely fit walk';
  -const TESTS = [
  +const TESTS = {
  + ecdsa: [
  + {
  + pk: '0x020a1091341fe5664bfa1782d5e04779689068c916b04cb365ec3153755684d9a1',
  + ss: '5C7C2Z5sWbytvHpuLTvzKunnnRwQxft1jiqrLD5rhucQ5S9X',
  + uri: `${PHRASE}//Alice`
  + }
  + ],
  + sr25519: [
  {
  pk: '0x46ebddef8cd9bb167dc30878d7113b7e168e6f0646beffd77d69d39bad76b47a',
  ss: '5DfhGyQdFobKM8NsWvEeAKk5EQQgYe9AydgJ7rMB6E1EqRzV',
  @@ -56,7 +64,8 @@ const TESTS = [
  ss: '5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY',
  uri: `${PHRASE}//Alice`
  }
  -];
  + ]
  +};
  describe('keyring.addFromUri', (): void => {
  const keyring = new Keyring({ type: 'sr25519' });
  @@ -65,12 +74,16 @@ describe('keyring.addFromUri', (): void => {
  await cryptoWaitReady();
  });
  - TESTS.forEach(({ pk, ss, uri }): void => {
  + Object.entries(TESTS).forEach(([type, tests]): void => {
  + describe(type, (): void => {
  + tests.forEach(({ pk, ss, uri }): void => {
  it(`creates ${uri}`, (): void => {
  - const pair = keyring.addFromUri(uri);
  + const pair = keyring.addFromUri(uri, {}, type as 'sr25519');
  expect(u8aToHex(pair.publicKey)).toEqual(pk);
  expect(pair.address).toEqual(ss);
  });
  });
  });
  + });
  +});
  