Skip to content

Commit

Permalink
docs: adding generated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
negar-abbasi committed Aug 31, 2023
1 parent 05fc667 commit 0931e5d
Show file tree
Hide file tree
Showing 6 changed files with 188 additions and 189 deletions.
18 changes: 9 additions & 9 deletions docs/code/classes/testing.TestLogger.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,15 @@ This helps ensure that the provided configuration items won't appear

https://jestjs.io/docs/snapshot-testing#2-tests-should-be-deterministic

**`Example`**

Jest Example
```typescript
const logger = new TestLogger()
...
expect(logger.getLogSnapshot()).toMatchSnapshot()
```

#### Parameters

| Name | Type | Description |
Expand All @@ -180,15 +189,6 @@ https://jestjs.io/docs/snapshot-testing#2-tests-should-be-deterministic

The snapshotted logs.

**`Example`**

Jest Example
```typescript
const logger = new TestLogger()
...
expect(logger.getLogSnapshot()).toMatchSnapshot()
```

#### Defined in

[src/testing/test-logger.ts:47](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/testing/test-logger.ts#L47)
Expand Down
8 changes: 4 additions & 4 deletions docs/code/classes/types_logic_error.LogicError.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ ___

Optional override for formatting stack traces

**`See`**

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

##### Parameters

| Name | Type |
Expand All @@ -164,10 +168,6 @@ Optional override for formatting stack traces

`any`

**`See`**

https://v8.dev/docs/stack-trace-api#customizing-stack-traces

#### Inherited from

Error.prepareStackTrace
Expand Down
8 changes: 4 additions & 4 deletions docs/code/interfaces/types_testing.AlgorandFixture.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ Testing framework agnostic handler method to run before each test to prepare the
Retrieve the current context.
Useful with destructuring.

#### Returns

[`AlgorandTestAutomationContext`](types_testing.AlgorandTestAutomationContext.md)

**`Example`**

```typescript
Expand All @@ -57,6 +53,10 @@ test('My test', () => {
})
```

#### Returns

[`AlgorandTestAutomationContext`](types_testing.AlgorandTestAutomationContext.md)

#### Defined in

[src/types/testing.ts:63](https://github.com/algorandfoundation/algokit-utils-ts/blob/main/src/types/testing.ts#L63)
Loading

0 comments on commit 0931e5d

Please sign in to comment.