Skip to content

AlgoKitLogCaptureFixture

@algorandfoundation/algokit-utils / types/testing / AlgoKitLogCaptureFixture

types/testing.AlgoKitLogCaptureFixture

Table of contents

Properties

Accessors

Properties

afterEach

afterEach: () => void

Testing framework agnostic handler method to run after each test to reset the logger.

Type declaration

▸ (): void

Returns

void

Defined in

src/types/testing.ts:158


beforeEach

beforeEach: () => void

Testing framework agnostic handler method to run before each test to prepare the testLogger for that test.

Type declaration

▸ (): void

Returns

void

Defined in

src/types/testing.ts:154

Accessors

testLogger

get testLogger(): TestLogger

The test logger instance for the current test

Returns

TestLogger

Defined in

src/types/testing.ts:150