summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hanzel <mhanzel@gitlab.com>2019-07-24 11:29:36 +0200
committerMartin Hanzel <mhanzel@gitlab.com>2019-07-24 11:29:36 +0200
commita94543d85fb4a8d1edb75c598906254a69368b21 (patch)
treee813e28848f0c3e5d3e6e4aee3f78f04ef613957
parent569d825092654fc74ccb12f2dcd3dc86c00233be (diff)
downloadgitlab-ce-docs-wait-for-requests.tar.gz
Add link to new waitFor sectiondocs-wait-for-requests
-rw-r--r--doc/development/testing_guide/frontend_testing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/testing_guide/frontend_testing.md b/doc/development/testing_guide/frontend_testing.md
index 980f701d58d..2b499a1d782 100644
--- a/doc/development/testing_guide/frontend_testing.md
+++ b/doc/development/testing_guide/frontend_testing.md
@@ -309,8 +309,8 @@ it('waits for an Ajax call', done => {
});
```
-If you are not able to register handlers to the `Promise`—for example because it is executed in a synchronous Vue life
-cycle hook—you can flush all pending `Promise`s:
+If you are not able to register handlers to the `Promise`—for example because it is executed in a synchronous Vue life cycle hook, please take a look at the [waitFor](#wait-until-axios-requests-finish) helpers or you can flush all pending `Promise`s:
+
**in Jest:**