From ddf8e35c6b1565607db023fb3b95bdf05217d425 Mon Sep 17 00:00:00 2001 From: Matt Phillips Date: Fri, 12 Oct 2018 15:40:34 +0100 Subject: [PATCH] Regenerate gloabl docs --- website/versioned_docs/version-23.0/GlobalAPI.md | 6 ++++++ website/versioned_docs/version-23.2/GlobalAPI.md | 6 ++++++ website/versioned_docs/version-23.5/GlobalAPI.md | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/website/versioned_docs/version-23.0/GlobalAPI.md b/website/versioned_docs/version-23.0/GlobalAPI.md index 90b230680e4c..d8cd6923ce53 100644 --- a/website/versioned_docs/version-23.0/GlobalAPI.md +++ b/website/versioned_docs/version-23.0/GlobalAPI.md @@ -471,6 +471,8 @@ Also under the alias: `it.each(table)(name, fn)` and `` it.each`table`(name, fn) Use `test.each` if you keep duplicating the same test with different data. `test.each` allows you to write the test once and pass data in. +_Note_ `test`s must be defined synchronously this means the `table` cannot be set inside of a `beforeEach` / `beforeAll`. + `test.each` is available with two APIs: #### 1. `test.each(table)(name, fn)` @@ -549,6 +551,8 @@ Also under the aliases: `it.only.each(table)(name, fn)`, `fit.each(table)(name, Use `test.only.each` if you want to only run specific tests with different test data. +_Note_ focussed `test`s must be defined synchronously this means the `table` cannot be set inside of a `beforeEach` / `beforeAll`. + `test.only.each` is available with two APIs: #### `test.only.each(table)(name, fn)` @@ -611,6 +615,8 @@ Also under the aliases: `it.skip.each(table)(name, fn)`, `xit.each(table)(name, Use `test.skip.each` if you want to stop running a collection of data driven tests. +_Note_ skipped `test`s must be defined synchronously this means the `table` cannot be set inside of a `beforeEach` / `beforeAll`. + `test.skip.each` is available with two APIs: #### `test.skip.each(table)(name, fn)` diff --git a/website/versioned_docs/version-23.2/GlobalAPI.md b/website/versioned_docs/version-23.2/GlobalAPI.md index 8cd941755365..41c626327d13 100644 --- a/website/versioned_docs/version-23.2/GlobalAPI.md +++ b/website/versioned_docs/version-23.2/GlobalAPI.md @@ -474,6 +474,8 @@ Also under the alias: `it.each(table)(name, fn)` and `` it.each`table`(name, fn) Use `test.each` if you keep duplicating the same test with different data. `test.each` allows you to write the test once and pass data in. +_Note_ `test`s must be defined synchronously this means the `table` cannot be set inside of a `beforeEach` / `beforeAll`. + `test.each` is available with two APIs: #### 1. `test.each(table)(name, fn)` @@ -555,6 +557,8 @@ Also under the aliases: `it.only.each(table)(name, fn)`, `fit.each(table)(name, Use `test.only.each` if you want to only run specific tests with different test data. +_Note_ focussed `test`s must be defined synchronously this means the `table` cannot be set inside of a `beforeEach` / `beforeAll`. + `test.only.each` is available with two APIs: #### `test.only.each(table)(name, fn)` @@ -617,6 +621,8 @@ Also under the aliases: `it.skip.each(table)(name, fn)`, `xit.each(table)(name, Use `test.skip.each` if you want to stop running a collection of data driven tests. +_Note_ skipped `test`s must be defined synchronously this means the `table` cannot be set inside of a `beforeEach` / `beforeAll`. + `test.skip.each` is available with two APIs: #### `test.skip.each(table)(name, fn)` diff --git a/website/versioned_docs/version-23.5/GlobalAPI.md b/website/versioned_docs/version-23.5/GlobalAPI.md index 756992220d08..193ff4286d79 100644 --- a/website/versioned_docs/version-23.5/GlobalAPI.md +++ b/website/versioned_docs/version-23.5/GlobalAPI.md @@ -477,6 +477,8 @@ Also under the alias: `it.each(table)(name, fn)` and `` it.each`table`(name, fn) Use `test.each` if you keep duplicating the same test with different data. `test.each` allows you to write the test once and pass data in. +_Note_ `test`s must be defined synchronously this means the `table` cannot be set inside of a `beforeEach` / `beforeAll`. + `test.each` is available with two APIs: #### 1. `test.each(table)(name, fn, timeout)` @@ -561,6 +563,8 @@ Also under the aliases: `it.only.each(table)(name, fn)`, `fit.each(table)(name, Use `test.only.each` if you want to only run specific tests with different test data. +_Note_ focussed `test`s must be defined synchronously this means the `table` cannot be set inside of a `beforeEach` / `beforeAll`. + `test.only.each` is available with two APIs: #### `test.only.each(table)(name, fn)` @@ -623,6 +627,8 @@ Also under the aliases: `it.skip.each(table)(name, fn)`, `xit.each(table)(name, Use `test.skip.each` if you want to stop running a collection of data driven tests. +_Note_ skipped `test`s must be defined synchronously this means the `table` cannot be set inside of a `beforeEach` / `beforeAll`. + `test.skip.each` is available with two APIs: #### `test.skip.each(table)(name, fn)`