From 6d95673dbb447d86774f1531e46fc7c3a574bda1 Mon Sep 17 00:00:00 2001 From: Carl-Erik Kopseng Date: Fri, 13 Sep 2024 00:58:30 +0200 Subject: [PATCH] Make a link to the fake-timers docs --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 0ea79e3..f191d43 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,4 +1,4 @@ -# nise (偽) +# nise (偽) fake XHR and Server @@ -219,7 +219,7 @@ This function also calls `useFakeXMLHttpRequest()`. #### `var server = fakeServerWithClock.create();` -Creates a server that also manages fake timers. +Creates a server that also manages [fake timers](https://github.com/sinonjs/fake-timers). This is useful when testing `XHR` objects created with e.g. jQuery 1.3.x, which uses a timer to poll the object for completion, rather than the usual `onreadystatechange`.