Skip to content

Commit

Permalink
Legacy-docs: Additionally mention snapshot
Browse files Browse the repository at this point in the history
 serializer in "replacing random string part" section
  • Loading branch information
Markus committed Jun 1, 2023
1 parent 40ee8ad commit 8812fb9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion website/versioned_docs/version-28.x/SnapshotTesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const stringWithConstantData = stringWithRandomData.replace(/id="\d+"/, 123);
expect(stringWithConstantData).toMatchSnapshot();
```

Another way is to [mock](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.
Other ways this can be done is using the [snapshot serializer](Configuration.md#snapshotserializers-arraystring) or [mocking](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.

:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.0/SnapshotTesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const stringWithConstantData = stringWithRandomData.replace(/id="\d+"/, 123);
expect(stringWithConstantData).toMatchSnapshot();
```

Another way is to [mock](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.
Other ways this can be done is using the [snapshot serializer](Configuration.md#snapshotserializers-arraystring) or [mocking](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.

:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.1/SnapshotTesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const stringWithConstantData = stringWithRandomData.replace(/id="\d+"/, 123);
expect(stringWithConstantData).toMatchSnapshot();
```

Another way is to [mock](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.
Other ways this can be done is using the [snapshot serializer](Configuration.md#snapshotserializers-arraystring) or [mocking](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.

:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.2/SnapshotTesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const stringWithConstantData = stringWithRandomData.replace(/id="\d+"/, 123);
expect(stringWithConstantData).toMatchSnapshot();
```

Another way is to [mock](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.
Other ways this can be done is using the [snapshot serializer](Configuration.md#snapshotserializers-arraystring) or [mocking](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.

:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.3/SnapshotTesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const stringWithConstantData = stringWithRandomData.replace(/id="\d+"/, 123);
expect(stringWithConstantData).toMatchSnapshot();
```

Another way is to [mock](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.
Other ways this can be done is using the [snapshot serializer](Configuration.md#snapshotserializers-arraystring) or [mocking](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.

:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.4/SnapshotTesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const stringWithConstantData = stringWithRandomData.replace(/id="\d+"/, 123);
expect(stringWithConstantData).toMatchSnapshot();
```

Another way is to [mock](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.
Other ways this can be done is using the [snapshot serializer](Configuration.md#snapshotserializers-arraystring) or [mocking](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.

:::

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-29.5/SnapshotTesting.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ const stringWithConstantData = stringWithRandomData.replace(/id="\d+"/, 123);
expect(stringWithConstantData).toMatchSnapshot();
```

Another way is to [mock](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.
Other ways this can be done is using the [snapshot serializer](Configuration.md#snapshotserializers-arraystring) or [mocking](MockFunctions.md) the library responsible for generating the random part of the code you're snapshotting.

:::

Expand Down

0 comments on commit 8812fb9

Please sign in to comment.