Rocky_Mountain_Vending/.pnpm-store/v10/files/da/fe0a5beb8f630897755feaa6e0152eaad66a1c0ccdac9c5973a0d54747a6681d5b109656b792609a387c545fefc6107f6f2b829296bb0347a3bef6954bb840
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

47 lines
No EOL
1.6 KiB
Text

export type Difference = {
path: string;
actual: any;
expected: any;
};
export type Comparison = {
name: string;
actual: any;
expected: any;
equal: boolean;
diffs: Difference[] | null;
};
/**
* Log all the comparisons between actual and expected test results, then print
* summary. Returns count of passed and failed tests.
* @param {{lhr: LH.Result, artifacts: LH.Artifacts, networkRequests?: string[]}} actual
* @param {Smokehouse.ExpectedRunnerResult} expected
* @param {{runner?: string, isDebug?: boolean}=} reportOptions
* @return {{passed: number, failed: number, log: string}}
*/
export function getAssertionReport(actual: {
lhr: LH.Result;
artifacts: LH.Artifacts;
networkRequests?: string[];
}, expected: Smokehouse.ExpectedRunnerResult, reportOptions?: {
runner?: string;
isDebug?: boolean;
} | undefined): {
passed: number;
failed: number;
log: string;
};
/**
* Walk down expected result, comparing to actual result. If a difference is found,
* the path to the difference is returned, along with the expected primitive value
* and the value actually found at that location. If no difference is found, returns
* null.
*
* Only checks own enumerable properties, not object prototypes, and will loop
* until the stack is exhausted, so works best with simple objects (e.g. parsed JSON).
* @param {string} path
* @param {*} actual
* @param {*} expected
* @return {Difference[]|null}
*/
export function findDifferences(path: string, actual: any, expected: any): Difference[] | null;
//# sourceMappingURL=report-assert.d.ts.map