Skip to content

Commit

Permalink
docs: matchers admonitions (#13309)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
  • Loading branch information
paulreece and mrazauskas committed Sep 28, 2022
1 parent 987102f commit 96ac587
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
6 changes: 5 additions & 1 deletion docs/UsingMatchers.md
Expand Up @@ -155,7 +155,11 @@ test('compiling android goes as expected', () => {
});
```

> Note: the function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.
:::tip

The function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.

:::

## And More

Expand Down
6 changes: 5 additions & 1 deletion website/versioned_docs/version-25.x/UsingMatchers.md
Expand Up @@ -155,7 +155,11 @@ test('compiling android goes as expected', () => {
});
```

> Note: the function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.
:::tip

The function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.

:::

## And More

Expand Down
6 changes: 5 additions & 1 deletion website/versioned_docs/version-26.x/UsingMatchers.md
Expand Up @@ -155,7 +155,11 @@ test('compiling android goes as expected', () => {
});
```

> Note: the function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.
:::note

The function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.

:::

## And More

Expand Down
6 changes: 5 additions & 1 deletion website/versioned_docs/version-27.x/UsingMatchers.md
Expand Up @@ -155,7 +155,11 @@ test('compiling android goes as expected', () => {
});
```

> Note: the function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.
:::tip

The function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.

:::

## And More

Expand Down
6 changes: 5 additions & 1 deletion website/versioned_docs/version-28.x/UsingMatchers.md
Expand Up @@ -155,7 +155,11 @@ test('compiling android goes as expected', () => {
});
```

> Note: the function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.
:::tip

The function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.

:::

## And More

Expand Down
6 changes: 5 additions & 1 deletion website/versioned_docs/version-29.0/UsingMatchers.md
Expand Up @@ -155,7 +155,11 @@ test('compiling android goes as expected', () => {
});
```

> Note: the function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.
:::tip

The function that throws an exception needs to be invoked within a wrapping function otherwise the `toThrow` assertion will fail.

:::

## And More

Expand Down

0 comments on commit 96ac587

Please sign in to comment.