algoKitLogCaptureFixture
constalgoKitLogCaptureFixture: () =>AlgoKitLogCaptureFixture
Defined in: src/testing/fixtures/algokit-log-capture-fixture.ts:22
Creates a test fixture for capturing AlgoKit logs.
Returns
Section titled “Returns”The fixture
Example
Section titled “Example”const logs = algoKitLogCaptureFixture()
beforeEach(logs.beforeEach)afterEach(logs.afterEach)
test('My test', () => { const capturedLogs = logs.testLogger.capturedLogs})