Skip to content

Commit

Permalink
Added comment to denote global{Setup,Teardown} can be synchronous (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Biki-das authored Dec 20, 2021
1 parent 4113c1d commit de669ec
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ _Note: While code transformation is applied to the linked setup-file, Jest will
Example:

```js title="setup.js"
// can be synchronous
module.exports = async () => {
// ...
// Set reference to mongod in order to close the server during teardown.
Expand Down
1 change: 1 addition & 0 deletions website/versioned_docs/version-25.x/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ _Note: While code transformation is applied to the linked setup-file, Jest will
Example:

```js title="setup.js"
// can be synchronous
module.exports = async () => {
// ...
// Set reference to mongod in order to close the server during teardown.
Expand Down
1 change: 1 addition & 0 deletions website/versioned_docs/version-26.x/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ _Note: While code transformation is applied to the linked setup-file, Jest will
Example:

```js title="setup.js"
// can be synchronous
module.exports = async () => {
// ...
// Set reference to mongod in order to close the server during teardown.
Expand Down
1 change: 1 addition & 0 deletions website/versioned_docs/version-27.0/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ _Note: While code transformation is applied to the linked setup-file, Jest will
Example:

```js title="setup.js"
// can be synchronous
module.exports = async () => {
// ...
// Set reference to mongod in order to close the server during teardown.
Expand Down
1 change: 1 addition & 0 deletions website/versioned_docs/version-27.1/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ _Note: While code transformation is applied to the linked setup-file, Jest will
Example:

```js title="setup.js"
// can be synchronous
module.exports = async () => {
// ...
// Set reference to mongod in order to close the server during teardown.
Expand Down
1 change: 1 addition & 0 deletions website/versioned_docs/version-27.2/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ _Note: While code transformation is applied to the linked setup-file, Jest will
Example:

```js title="setup.js"
// can be synchronous
module.exports = async () => {
// ...
// Set reference to mongod in order to close the server during teardown.
Expand Down
1 change: 1 addition & 0 deletions website/versioned_docs/version-27.4/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ _Note: While code transformation is applied to the linked setup-file, Jest will
Example:

```js title="setup.js"
// can be synchronous
module.exports = async () => {
// ...
// Set reference to mongod in order to close the server during teardown.
Expand Down

0 comments on commit de669ec

Please sign in to comment.