Skip to content

DEFAULT_EVAL_CAP_IN_MILLISECONDS

The per-eval cap both obsidian-integration-testing transports enforce by default, in milliseconds.

It restates that package’s own DEFAULT_EVAL_CAP_IN_MILLISECONDS instead of importing it, because obsidian-integration-testing is an OPTIONAL peer: the import made the ESLint rule, and with it the shared ESLint config every plugin lints with, fail to load in a project without the harness installed. A unit test pins the two numbers together, so they cannot drift apart.

Import:

import { DEFAULT_EVAL_CAP_IN_MILLISECONDS } from '@mnaoumov/obsidian-dev-toolkit/test-runners/performance-eval-cap';

Signature:

const DEFAULT_EVAL_CAP_IN_MILLISECONDS: 30000

Type: 30000