Files
common/docs/keyring/modules/_testing_.md
T
2019-02-14 14:19:18 +00:00

29 lines
775 B
Markdown

# Functions
<a id="testkeyring"></a>
## testKeyring
▸ **testKeyring**(options: *[KeyringOptions](_types_.md#keyringoptions)*): [KeyringInstance](../interfaces/_types_.keyringinstance.md)
*Defined in [testing.ts:41](https://github.com/polkadot-js/common/blob/0710c73/packages/keyring/src/testing.ts#L41)*
*__name__*: testKeyring
*__summary__*: Create an instance of Keyring pre-populated with locked test accounts
*__description__*: The test accounts (i.e. alice, bob, dave, eve, ferdie) are available on the dev chain and each test account is initialised with DOT funds.
**Parameters:**
| Name | Type |
| ------ | ------ |
| options | [KeyringOptions](_types_.md#keyringoptions) |
**Returns:** [KeyringInstance](../interfaces/_types_.keyringinstance.md)
___