File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ exports[`network > network_get_request > should get request from previous naviga
33## Request http://localhost:<port>/one
44Status: [success - 200]
55### Request Headers
6- - accept-language:en-US,en;q=0.9
6+ - accept-language:<lang>
77- upgrade-insecure-requests:1
88- user-agent:<user-agent>
99- sec-ch-ua:"Chromium";v="<version>", "Not A(Brand";v="24"
Original file line number Diff line number Diff line change @@ -211,6 +211,10 @@ export function stabilizeResponseOutput(text: unknown) {
211211
212212 const savedSnapshot = / S a v e d s n a p s h o t t o ( .* ) / g;
213213 output = output . replaceAll ( savedSnapshot , 'Saved snapshot to <file>' ) ;
214+
215+ const acceptLanguageRegEx = / a c c e p t - l a n g u a g e : .* \n / g;
216+ output = output . replaceAll ( acceptLanguageRegEx , 'accept-language:<lang>\n' ) ;
217+
214218 return output ;
215219}
216220
You can’t perform that action at this time.
0 commit comments