Utilização

Compare a recorded native batch stream with its saved tree.

Este tipo é usado por tests.replay

tsx
// Compare a recorded native batch stream with its saved tree.
import { assert, replay, test } from 'kuito/tests';

test('recorded checkout keeps its native tree', async () => {
  // Supply a .krec recording and its adjacent .tree file from your app.
  const result = await replay('tests/fixtures/checkout.krec');
  assert.notEqual(result.recorded, null);
  assert.equal(result.tree, result.recorded);
});

Declaração do tipo

ts
export interface ReplayOptions {
  /** The fonts the recording's device drew with: its text sizes follow them. */
  fonts?: FontTable;
  /** The recording device's window. */
  screen?: Screen;
}

Membros 2

NomeTipoObrigatórioDescrição
fontsFontTableNãoThe fonts the recording's device drew with: its text sizes follow them.
screenScreenNãoThe recording device's window.
Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.