graphql-http / audits/common / Audit
audits/common.Audit
Actual audit test returning an result.
The test function will throw only if the error is fatal.
• fn: () => Promise
<AuditResult
>
▸ (): Promise
<AuditResult
>
Promise
<AuditResult
>
• id: string
Uniquely represents the audit. Helps with pinning audits without depending on the human readable audit name.
• name: `MUST ${string}` | `SHOULD ${string}` | `MAY ${string}`