mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 06:16:37 +00:00
test(browser): 扩展 richer matching interception harness
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
a5ef77a3d8
commit
ef06564b60
@@ -105,6 +105,7 @@ type MockInterceptRuleMatch = {
|
||||
method: string;
|
||||
resourceType?: string;
|
||||
requestId?: string;
|
||||
requestHeaders?: Record<string, string>;
|
||||
};
|
||||
|
||||
type MockFulfilledRequest = {
|
||||
@@ -714,6 +715,7 @@ function createMockBrowser(pagesInput: MockPageState[]) {
|
||||
request: {
|
||||
url: paused.url,
|
||||
method: paused.method,
|
||||
headers: paused.requestHeaders || {},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user