# runEditorProviderConformance

Source: /tuil/docs/reference/packages/editor/api/run-editor-provider-conformance
Locale: en

function exported by @mwillbanks/tuil-editor.



{/* Generated by tooling/docs/generate-reference.ts. */}

## function [#function]

Public function exported by `@mwillbanks/tuil-editor`.

```ts
export async function runEditorProviderConformance(
  provider: EditorProvider,
): Promise<{
  readonly providerId: string;
  readonly capabilities: readonly string[];
}>;
```

## Members [#members]

This declaration has no public members.

## Parameters [#parameters]

| Member     | Type             | Required | Description                                        | Related types                                                           |
| ---------- | ---------------- | -------- | -------------------------------------------------- | ----------------------------------------------------------------------- |
| `provider` | `EditorProvider` | Yes      | Supplies the `provider` value as `EditorProvider`. | [`EditorProvider`](/tuil/docs/reference/packages/editor/api/editor-provider) |

## Returns [#returns]

`Promise<{
  readonly providerId: string;
  readonly capabilities: readonly string[];
}>` — Returns a value that satisfies `Promise<{
  readonly providerId: string;
  readonly capabilities: readonly string[];
}>`.

Related types: —

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

* [`EditorProvider`](/tuil/docs/reference/packages/editor/api/editor-provider)

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/editor/src/testing.ts)

## Package [#package]

[@mwillbanks/tuil-editor](/tuil/docs/reference/packages/editor)
