type ChaiConfig = { /** * @default false */ includeStack: boolean; /** * @default true */ showDiff: boolean; /** * @default 40 */ truncateThreshold: number; };
undefined
Customize the Chai config.
import { defineConfig } from '@rstest/core'; export default defineConfig({ chaiConfig: { truncateThreshold: 100, }, });