@@ -78,7 +78,7 @@ describe("iOSDeviceDebugService", () => {
78
78
{
79
79
scenarioName : "useBundledDevTools and useHttpUrl are not passed" ,
80
80
debugOptions : { } ,
81
- expectedChromeUrl : `chrome-devtools://devtools/remote/serve_file/@ ${ expectedDevToolsCommitSha } /inspector.html?experiments=true&ws=localhost:${ expectedPort } ` ,
81
+ expectedChromeUrl : `chrome-devtools://devtools/bundled /inspector.html?experiments=true&ws=localhost:${ expectedPort } ` ,
82
82
} ,
83
83
84
84
// When useBundledDevTools is true
@@ -137,7 +137,7 @@ describe("iOSDeviceDebugService", () => {
137
137
debugOptions : {
138
138
useHttpUrl : false
139
139
} ,
140
- expectedChromeUrl : `chrome-devtools://devtools/remote/serve_file/@ ${ expectedDevToolsCommitSha } /inspector.html?experiments=true&ws=localhost:${ expectedPort } ` ,
140
+ expectedChromeUrl : `chrome-devtools://devtools/bundled /inspector.html?experiments=true&ws=localhost:${ expectedPort } ` ,
141
141
} ,
142
142
{
143
143
scenarioName : "useBundledDevTools is not passed and useHttpUrl is true" ,
@@ -149,16 +149,18 @@ describe("iOSDeviceDebugService", () => {
149
149
150
150
// devToolsCommit tests
151
151
{
152
- scenarioName : "devToolsCommit defaults to ${expectedDevToolsCommitSha} and is used in result when useBundledDevTools is not passed" ,
153
- debugOptions : { } ,
152
+ scenarioName : `devToolsCommit defaults to ${ expectedDevToolsCommitSha } and is used in result when useBundledDevTools is not passed` ,
153
+ debugOptions : {
154
+ useBundledDevTools : false
155
+ } ,
154
156
expectedChromeUrl : `chrome-devtools://devtools/remote/serve_file/@${ expectedDevToolsCommitSha } /inspector.html?experiments=true&ws=localhost:${ expectedPort } ` ,
155
157
} ,
156
158
{
157
- scenarioName : "devToolsCommit is set to passed value when useBundledDevTools is not passed" ,
159
+ scenarioName : "devToolsCommit is disregarded when useBundledDevTools is not passed" ,
158
160
debugOptions : {
159
161
devToolsCommit : customDevToolsCommit
160
162
} ,
161
- expectedChromeUrl : `chrome-devtools://devtools/remote/serve_file/@ ${ customDevToolsCommit } /inspector.html?experiments=true&ws=localhost:${ expectedPort } ` ,
163
+ expectedChromeUrl : `chrome-devtools://devtools/bundled /inspector.html?experiments=true&ws=localhost:${ expectedPort } ` ,
162
164
} ,
163
165
{
164
166
scenarioName : "devToolsCommit is set to passed value when useBundledDevTools is set to false" ,
0 commit comments