CARVIEW |
Select Language
HTTP/2 200
date: Mon, 06 Oct 2025 05:36:48 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/jquery/jquery.git
etag: W/"ef0949fab10ff7f7062b471babfd2d25"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=i%2FZOX1H5QRoBdAFFymZNfxLUDo1gZMX53kHtmcdC5PyWscYbMpa3m8oSKqjzZo1YqNt4zaEvxPbV%2Bj%2BE7BFV9hshVuLscLrBnXd8vgjlfuyIn64pdn9zhlJmrDmBEapt0%2Fe8bz2K0rZYf6Rr42NwZ%2B75FaTox2rKbWv9%2BKwBqaCl66qpO185TO5I6ic9SUECe1oNXmRVGVPHWWFIat92j%2BukRlaDoXX8f5%2BN4p2KcQ58Y%2BSSugJFpoXTID5TQRTyvbJl27aIFNh047o9i7g%2BMg%3D%3D--PPQ19UOGDcWeBpM1--aC8XOAvLAaNqYoNOaKGwYQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.457918359.1759729007; Path=/; Domain=github.com; Expires=Tue, 06 Oct 2026 05:36:47 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 06 Oct 2026 05:36:47 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D0F0:38A8F3:16B34F9:1E34BE5:68E3556F
Build: Migrate middleware-mockserver to modern JS · jquery/jquery@6b2abbd · GitHub
Copy file name to clipboardExpand all lines: test/middleware-mockserver.js
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 20.5k
Commit 6b2abbd
committed
Build: Migrate middleware-mockserver to modern JS
The `test/middleware-mockserver.js` file used to have the same ESLint
settings applied as other test files that are directly run in tested
browsers. Now it shares settings of other Node.js files.
The file is now also written using modern JS, leveraging ES2018.
Closes gh-5196
(cherry picked from commit ce90a48)1 parent e062f9c commit 6b2abbdCopy full SHA for 6b2abbd
File tree
Expand file treeCollapse file tree
2 files changed
+65
-49
lines changedFilter options
- test
Expand file treeCollapse file tree
2 files changed
+65
-49
lines changedCollapse file: test/.eslintrc.json
+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
60 | 68 |
| |
61 | 69 |
| |
62 | 70 |
| |
|
Collapse file: test/middleware-mockserver.js
test/middleware-mockserver.js
Copy file name to clipboardExpand all lines: test/middleware-mockserver.js+57-49Lines changed: 57 additions & 49 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 |
| |
6 |
| - | |
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
12 | 14 |
| |
13 | 15 |
| |
14 |
| - | |
| 16 | + | |
15 | 17 |
| |
16 | 18 |
| |
17 | 19 |
| |
18 | 20 |
| |
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
22 |
| - | |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
| |||
44 | 46 |
| |
45 | 47 |
| |
46 | 48 |
| |
47 |
| - | |
| 49 | + | |
48 | 50 |
| |
49 | 51 |
| |
50 | 52 |
| |
| |||
59 | 61 |
| |
60 | 62 |
| |
61 | 63 |
| |
62 |
| - | |
| 64 | + | |
63 | 65 |
| |
64 | 66 |
| |
65 | 67 |
| |
| |||
73 | 75 |
| |
74 | 76 |
| |
75 | 77 |
| |
76 |
| - | |
| 78 | + | |
77 | 79 |
| |
78 | 80 |
| |
79 | 81 |
| |
| |||
96 | 98 |
| |
97 | 99 |
| |
98 | 100 |
| |
99 |
| - | |
| 101 | + | |
100 | 102 |
| |
101 | 103 |
| |
102 | 104 |
| |
| |||
108 | 110 |
| |
109 | 111 |
| |
110 | 112 |
| |
111 |
| - | |
| 113 | + | |
112 | 114 |
| |
113 | 115 |
| |
114 | 116 |
| |
115 | 117 |
| |
116 | 118 |
| |
117 | 119 |
| |
118 | 120 |
| |
119 |
| - | |
| 121 | + | |
120 | 122 |
| |
121 | 123 |
| |
122 | 124 |
| |
123 |
| - | |
124 |
| - | |
| 125 | + | |
| 126 | + | |
125 | 127 |
| |
126 |
| - | |
| 128 | + | |
127 | 129 |
| |
128 | 130 |
| |
129 | 131 |
| |
| |||
144 | 146 |
| |
145 | 147 |
| |
146 | 148 |
| |
147 |
| - | |
148 |
| - | |
| 149 | + | |
| 150 | + | |
149 | 151 |
| |
150 | 152 |
| |
151 | 153 |
| |
| |||
163 | 165 |
| |
164 | 166 |
| |
165 | 167 |
| |
166 |
| - | |
167 |
| - | |
| 168 | + | |
| 169 | + | |
168 | 170 |
| |
169 |
| - | |
| 171 | + | |
170 | 172 |
| |
171 | 173 |
| |
172 | 174 |
| |
173 | 175 |
| |
174 |
| - | |
175 |
| - | |
| 176 | + | |
| 177 | + | |
176 | 178 |
| |
177 | 179 |
| |
178 | 180 |
| |
| |||
183 | 185 |
| |
184 | 186 |
| |
185 | 187 |
| |
186 |
| - | |
187 |
| - | |
| 188 | + | |
| 189 | + | |
188 | 190 |
| |
189 | 191 |
| |
190 | 192 |
| |
| |||
195 | 197 |
| |
196 | 198 |
| |
197 | 199 |
| |
198 |
| - | |
| 200 | + | |
199 | 201 |
| |
200 | 202 |
| |
201 | 203 |
| |
202 | 204 |
| |
203 | 205 |
| |
204 |
| - | |
205 |
| - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
206 | 210 |
| |
207 | 211 |
| |
208 |
| - | |
| 212 | + | |
209 | 213 |
| |
210 | 214 |
| |
211 |
| - | |
| 215 | + | |
| 216 | + | |
212 | 217 |
| |
213 |
| - | |
| 218 | + | |
214 | 219 |
| |
215 | 220 |
| |
216 | 221 |
| |
217 |
| - | |
| 222 | + | |
218 | 223 |
| |
219 | 224 |
| |
220 |
| - | |
| 225 | + | |
| 226 | + | |
221 | 227 |
| |
222 |
| - | |
223 |
| - | |
| 228 | + | |
| 229 | + | |
224 | 230 |
| |
225 | 231 |
| |
226 |
| - | |
| 232 | + | |
227 | 233 |
| |
228 | 234 |
| |
229 | 235 |
| |
230 | 236 |
| |
231 |
| - | |
| 237 | + | |
232 | 238 |
| |
233 | 239 |
| |
234 | 240 |
| |
| |||
240 | 246 |
| |
241 | 247 |
| |
242 | 248 |
| |
243 |
| - | |
244 |
| - | |
| 249 | + | |
| 250 | + | |
245 | 251 |
| |
246 | 252 |
| |
247 | 253 |
| |
248 | 254 |
| |
249 | 255 |
| |
250 |
| - | |
| 256 | + | |
251 | 257 |
| |
252 | 258 |
| |
253 | 259 |
| |
| |||
257 | 263 |
| |
258 | 264 |
| |
259 | 265 |
| |
260 |
| - | |
| 266 | + | |
261 | 267 |
| |
262 | 268 |
| |
263 | 269 |
| |
264 |
| - | |
| 270 | + | |
265 | 271 |
| |
266 | 272 |
| |
267 | 273 |
| |
| |||
276 | 282 |
| |
277 | 283 |
| |
278 | 284 |
| |
| 285 | + | |
279 | 286 |
| |
280 | 287 |
| |
281 | 288 |
| |
282 | 289 |
| |
283 | 290 |
| |
284 | 291 |
| |
285 |
| - | |
286 |
| - | |
287 |
| - | |
288 |
| - | |
289 |
| - | |
290 |
| - | |
291 |
| - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
292 | 299 |
| |
293 | 300 |
| |
| 301 | + | |
294 | 302 |
| |
295 | 303 |
| |
296 | 304 |
| |
|
You can’t perform that action at this time.
0 commit comments