MCPcopy
hub / github.com/sindresorhus/ky / test

Function test

test/retry.ts:114–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 t,
113 expectedDuration: 4 + 4 + 4 + 4,
114 async test() {
115 t.is(await ky(server.url, {
116 retry: retryCount,
117 }).text(), fixture);
118 },
119 });
120
121 t.is(requestCount, 5);

Callers 15

bytes.tsFile · 0.85
headers.tsFile · 0.85
methods.tsFile · 0.85
context.tsFile · 0.85
body-size.tsFile · 0.85
http-error.tsFile · 0.85
prefix.tsFile · 0.85
hooks.tsFile · 0.85
main.tsFile · 0.85
memory-leak.tsFile · 0.85
stream.tsFile · 0.85

Calls 1

kyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…