interface FailedTestDetails
Private

The QUnit testEnd slice record() consumes.

import * as FailureCache from './failure-cache.ts';

const details: Parameters<typeof FailureCache.record>[1] = {
  fullName: ['auth', 'login', 'rejects a bad password'],
  assertions: [{ passed: false, todo: false, stack: 'at http://localhost:7357/tests.js:1:1' }],
};

Properties

fullName: string[]
optional
assertions: { passed: boolean; todo: boolean; stack?: string; }[]

Usage

import { type FailedTestDetails } from "lib/utils/failure-cache.ts";