Files
common/docs/assets/js/73.48bf4531.js
T
2019-02-27 14:02:13 +00:00

1 line
2.2 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[73],{525:function(t,e,n){"use strict";n.r(e);var r=n(46),s=Object(r.a)({},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("h1",{attrs:{id:"functions"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#functions","aria-hidden":"true"}},[t._v("#")]),t._v(" Functions")]),t._v(" "),n("p",[n("a",{attrs:{id:"testkeyring"}})]),t._v(" "),n("h2",{attrs:{id:"testkeyring"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#testkeyring","aria-hidden":"true"}},[t._v("#")]),t._v(" testKeyring")]),t._v(" "),n("p",[t._v("▸ "),n("strong",[t._v("testKeyring")]),t._v("(options?: "),n("em",[n("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringoptions"}},[t._v("KeyringOptions")])],1),t._v("): "),n("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringinstance.html"}},[t._v("KeyringInstance")])],1),t._v(" "),n("p",[n("em",[t._v("Defined in "),n("a",{attrs:{href:"https://github.com/polkadot-js/common/blob/38e1c5e/packages/keyring/src/testing.ts#L41",target:"_blank",rel:"noopener noreferrer"}},[t._v("testing.ts:41"),n("OutboundLink")],1)])]),t._v(" "),n("p",[n("em",[n("strong",[t._v("name")])]),t._v(": testKeyring")]),t._v(" "),n("p",[n("em",[n("strong",[t._v("summary")])]),t._v(": Create an instance of Keyring pre-populated with locked test accounts")]),t._v(" "),n("p",[n("em",[n("strong",[t._v("description")])]),t._v(": 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.")]),t._v(" "),n("p",[n("strong",[t._v("Parameters:")])]),t._v(" "),n("table",[n("thead",[n("tr",[n("th",[t._v("Name")]),t._v(" "),n("th",[t._v("Type")])])]),t._v(" "),n("tbody",[n("tr",[n("td",[n("code",[t._v("Optional")]),t._v(" options")]),t._v(" "),n("td",[n("router-link",{attrs:{to:"/keyring/modules/_types_.html#keyringoptions"}},[t._v("KeyringOptions")])],1)])])]),t._v(" "),n("p",[n("strong",[t._v("Returns:")]),t._v(" "),n("router-link",{attrs:{to:"/keyring/interfaces/_types_.keyringinstance.html"}},[t._v("KeyringInstance")])],1),t._v(" "),n("hr")])},[],!1,null,null,null);e.default=s.exports}}]);