Type Alias: TestProviderContext
TestProviderContext =
ProviderPluginContext&object
Type Declaration
logs
readonlylogs: readonlyLoggedLine[]
Everything the plugin logged.
registered
readonlyregistered:object
What the plugin registered, in order.
registered.dialects
readonlydialects:ReadonlyMap<string,Dialect|RemoteDialect>
registered.productProfiles
readonlyproductProfiles: readonlyBackendProfile[]
What it registered with ctx.provider.registerProductProfile, in order.
registered.profiles
readonlyprofiles: readonlyRegisteredProfile[]
registered.providers
readonlyproviders:ReadonlyMap<string,NativeProviderDefinition>
What it registered with ctx.provider.registerProvider, by id.
registered.dialect()
dialect(
id):AnyDialect
The dialect registered under id; for a provider registered natively, the dialect the
daemon adapts it to — the form the conformance bench takes. Throws, naming the ids it
has, if there is none.
Parameters
id
string
Returns
AnyDialect
shownFrom
readonlyshownFrom:ReadonlyMap<string, readonlystring[]>
The directories the plugin opened to chat_show_media (media.allowShow), by mission.
cleanup()
cleanup():
void
Removes the temporary folders scratch.mission created.
Returns
void