libp2p
Preparing search index...
@libp2p/interface-compliance-tests
index
TestSetup
Interface TestSetup<T, SetupArgs>
interface
TestSetup
<
T
,
SetupArgs
=
Record
<
string
,
unknown
>
>
{
setup
(
args
?:
SetupArgs
)
:
Promise
<
T
>
;
teardown
()
:
Promise
<
void
>
;
}
Type Parameters
T
SetupArgs
=
Record
<
string
,
unknown
>
Index
Methods
setup
teardown
Methods
setup
setup
(
args
?:
SetupArgs
)
:
Promise
<
T
>
Parameters
Optional
args
:
SetupArgs
Returns
Promise
<
T
>
teardown
teardown
()
:
Promise
<
void
>
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
setup
teardown
libp2p
Loading...