From 76cb9c2a39d477a64824a985ade40507e3bbade1 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Fri, 13 Feb 2026 21:34:48 -0800 Subject: feat(vanilla): add testing infrastructure and tests (NK-wjnczv) --- .../node_modules/@vitest/utils/dist/display.d.ts | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 vanilla/node_modules/@vitest/utils/dist/display.d.ts (limited to 'vanilla/node_modules/@vitest/utils/dist/display.d.ts') diff --git a/vanilla/node_modules/@vitest/utils/dist/display.d.ts b/vanilla/node_modules/@vitest/utils/dist/display.d.ts new file mode 100644 index 0000000..576fa4c --- /dev/null +++ b/vanilla/node_modules/@vitest/utils/dist/display.d.ts @@ -0,0 +1,29 @@ +import { PrettyFormatOptions } from '@vitest/pretty-format'; + +type Inspect = (value: unknown, options: Options) => string; +interface Options { + showHidden: boolean; + depth: number; + colors: boolean; + customInspect: boolean; + showProxy: boolean; + maxArrayLength: number; + breakLength: number; + truncate: number; + seen: unknown[]; + inspect: Inspect; + stylize: (value: string, styleType: string) => string; +} +type LoupeOptions = Partial; +interface StringifyOptions extends PrettyFormatOptions { + maxLength?: number; +} +declare function stringify(object: unknown, maxDepth?: number, { maxLength, ...options }?: StringifyOptions): string; +declare const formatRegExp: RegExp; +declare function format(...args: unknown[]): string; +declare function browserFormat(...args: unknown[]): string; +declare function inspect(obj: unknown, options?: LoupeOptions): string; +declare function objDisplay(obj: unknown, options?: LoupeOptions): string; + +export { browserFormat, format, formatRegExp, inspect, objDisplay, stringify }; +export type { LoupeOptions, StringifyOptions }; -- cgit v1.2.3