-
Notifications
You must be signed in to change notification settings - Fork 242
Expand file tree
/
Copy pathutils.test.ts.snap
More file actions
414 lines (413 loc) · 11.1 KB
/
utils.test.ts.snap
File metadata and controls
414 lines (413 loc) · 11.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`availableTargets returns all available targets 1`] = `
Array [
Object {
"clients": Array [
Object {
"description": "Simple REST and HTTP API Client for C",
"key": "libcurl",
"link": "http://curl.haxx.se/libcurl",
"title": "Libcurl",
},
],
"default": "libcurl",
"extname": ".c",
"key": "c",
"title": "C",
},
Object {
"clients": Array [
Object {
"description": "An idiomatic clojure http client wrapping the apache client.",
"key": "clj_http",
"link": "https://github.com/dakrone/clj-http",
"title": "clj-http",
},
],
"default": "clj_http",
"extname": ".clj",
"key": "clojure",
"title": "Clojure",
},
Object {
"clients": Array [
Object {
"description": "Crystal HTTP client",
"key": "native",
"link": "https://crystal-lang.org/api/master/HTTP/Client.html",
"title": "http::client",
},
],
"default": "native",
"extname": ".cr",
"key": "crystal",
"title": "Crystal",
},
Object {
"clients": Array [
Object {
"description": ".NET Standard HTTP Client",
"key": "httpclient",
"link": "https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient",
"title": "HttpClient",
},
Object {
"description": "Simple REST and HTTP API Client for .NET",
"key": "restsharp",
"link": "http://restsharp.org/",
"title": "RestSharp",
},
],
"default": "restsharp",
"extname": ".cs",
"key": "csharp",
"title": "C#",
},
Object {
"clients": Array [
Object {
"description": "Dart HTTP client request using the http package",
"key": "http",
"link": "https://pub.dev/packages/http",
"title": "HTTP",
},
],
"default": "http",
"extname": ".dart",
"key": "dart",
"title": "Dart",
},
Object {
"clients": Array [
Object {
"description": "Golang HTTP client request",
"key": "native",
"link": "http://golang.org/pkg/net/http/#NewRequest",
"title": "NewRequest",
},
],
"default": "native",
"extname": ".go",
"key": "go",
"title": "Go",
},
Object {
"clients": Array [
Object {
"description": "HTTP/1.1 request string in accordance with RFC 7230",
"key": "http1.1",
"link": "https://tools.ietf.org/html/rfc7230",
"title": "HTTP/1.1",
},
],
"default": "1.1",
"extname": null,
"key": "http",
"title": "HTTP",
},
Object {
"clients": Array [
Object {
"description": "Asynchronous Http and WebSocket Client library for Java",
"key": "asynchttp",
"link": "https://github.com/AsyncHttpClient/async-http-client",
"title": "AsyncHttp",
},
Object {
"description": "Java Standardized HTTP Client API",
"key": "nethttp",
"link": "https://openjdk.java.net/groups/net/httpclient/intro.html",
"title": "java.net.http",
},
Object {
"description": "An HTTP Request Client Library",
"key": "okhttp",
"link": "http://square.github.io/okhttp/",
"title": "OkHttp",
},
Object {
"description": "Lightweight HTTP Request Client Library",
"key": "unirest",
"link": "http://unirest.io/java.html",
"title": "Unirest",
},
],
"default": "unirest",
"extname": ".java",
"key": "java",
"title": "Java",
},
Object {
"clients": Array [
Object {
"description": "W3C Standard API that provides scripted client functionality",
"key": "xhr",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",
"title": "XMLHttpRequest",
},
Object {
"description": "Promise based HTTP client for the browser and node.js",
"key": "axios",
"link": "https://github.com/axios/axios",
"title": "Axios",
},
Object {
"description": "Perform asynchronous HTTP requests with the Fetch API",
"key": "fetch",
"link": "https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch",
"title": "fetch",
},
Object {
"description": "Perform an asynchronous HTTP (Ajax) requests with jQuery",
"key": "jquery",
"link": "http://api.jquery.com/jquery.ajax/",
"title": "jQuery",
},
],
"default": "xhr",
"extname": ".js",
"key": "javascript",
"title": "JavaScript",
},
Object {
"clients": Array [
Object {
"description": "An HTTP Request Client Library",
"key": "okhttp",
"link": "http://square.github.io/okhttp/",
"title": "OkHttp",
},
],
"default": "okhttp",
"extname": ".kt",
"key": "kotlin",
"title": "Kotlin",
},
Object {
"clients": Array [
Object {
"description": "Node.js native HTTP interface",
"key": "native",
"link": "http://nodejs.org/api/http.html#http_http_request_options_callback",
"title": "HTTP",
},
Object {
"description": "Simplified HTTP request client",
"key": "request",
"link": "https://github.com/request/request",
"title": "Request",
},
Object {
"description": "Lightweight HTTP Request Client Library",
"key": "unirest",
"link": "http://unirest.io/nodejs.html",
"title": "Unirest",
},
Object {
"description": "Promise based HTTP client for the browser and node.js",
"key": "axios",
"link": "https://github.com/axios/axios",
"title": "Axios",
},
Object {
"description": "Simplified HTTP node-fetch client",
"key": "fetch",
"link": "https://github.com/bitinn/node-fetch",
"title": "Fetch",
},
],
"default": "native",
"extname": ".js",
"key": "node",
"title": "Node.js",
},
Object {
"clients": Array [
Object {
"description": "Foundation's NSURLSession request",
"key": "nsurlsession",
"link": "https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",
"title": "NSURLSession",
},
],
"default": "nsurlsession",
"extname": ".m",
"key": "objc",
"title": "Objective-C",
},
Object {
"clients": Array [
Object {
"description": "Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml",
"key": "cohttp",
"link": "https://github.com/mirage/ocaml-cohttp",
"title": "CoHTTP",
},
],
"default": "cohttp",
"extname": ".ml",
"key": "ocaml",
"title": "OCaml",
},
Object {
"clients": Array [
Object {
"description": "PHP with ext-curl",
"key": "curl",
"link": "http://php.net/manual/en/book.curl.php",
"title": "cURL",
},
Object {
"description": "PHP with Guzzle",
"key": "guzzle",
"link": "http://docs.guzzlephp.org/en/stable/",
"title": "Guzzle",
},
Object {
"description": "PHP with pecl/http v1",
"key": "http1",
"link": "http://php.net/manual/en/book.http.php",
"title": "HTTP v1",
},
Object {
"description": "PHP with pecl/http v2",
"key": "http2",
"link": "http://devel-m6w6.rhcloud.com/mdref/http",
"title": "HTTP v2",
},
],
"default": "curl",
"extname": ".php",
"key": "php",
"title": "PHP",
},
Object {
"clients": Array [
Object {
"description": "Powershell Invoke-WebRequest client",
"key": "webrequest",
"link": "https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",
"title": "Invoke-WebRequest",
},
Object {
"description": "Powershell Invoke-RestMethod client",
"key": "restmethod",
"link": "https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",
"title": "Invoke-RestMethod",
},
],
"default": "webrequest",
"extname": ".ps1",
"key": "powershell",
"title": "Powershell",
},
Object {
"clients": Array [
Object {
"description": "Python3 HTTP Client",
"key": "python3",
"link": "https://docs.python.org/3/library/http.client.html",
"title": "http.client",
},
Object {
"description": "Requests HTTP library",
"key": "requests",
"link": "http://docs.python-requests.org/en/latest/api/#requests.request",
"title": "Requests",
},
],
"default": "python3",
"extname": ".py",
"key": "python",
"title": "Python",
},
Object {
"clients": Array [
Object {
"description": "httr: Tools for Working with URLs and HTTP",
"key": "httr",
"link": "https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html",
"title": "httr",
},
],
"default": "httr",
"extname": ".r",
"key": "r",
"title": "R",
},
Object {
"clients": Array [
Object {
"description": "Ruby HTTP client",
"key": "native",
"link": "http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",
"title": "net::http",
},
Object {
"description": "Faraday HTTP client",
"key": "faraday",
"link": "https://github.com/lostisland/faraday",
"title": "faraday",
},
],
"default": "native",
"extname": ".rb",
"key": "ruby",
"title": "Ruby",
},
Object {
"clients": Array [
Object {
"description": "reqwest HTTP library",
"key": "reqwest",
"link": "https://docs.rs/reqwest/latest/reqwest/",
"title": "reqwest",
},
],
"default": "reqwest",
"extname": ".rs",
"key": "rust",
"title": "Rust",
},
Object {
"clients": Array [
Object {
"description": "cURL is a command line tool and library for transferring data with URL syntax",
"key": "curl",
"link": "http://curl.haxx.se/",
"title": "cURL",
},
Object {
"description": "a CLI, cURL-like tool for humans",
"key": "httpie",
"link": "http://httpie.org/",
"title": "HTTPie",
},
Object {
"description": "a free software package for retrieving files using HTTP, HTTPS",
"key": "wget",
"link": "https://www.gnu.org/software/wget/",
"title": "Wget",
},
],
"default": "curl",
"extname": ".sh",
"key": "shell",
"title": "Shell",
},
Object {
"clients": Array [
Object {
"description": "Foundation's NSURLSession request",
"key": "nsurlsession",
"link": "https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",
"title": "NSURLSession",
},
],
"default": "nsurlsession",
"extname": ".swift",
"key": "swift",
"title": "Swift",
},
]
`;