We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0483b53 commit 98dfac8Copy full SHA for 98dfac8
test/unit/browser/pages/vscode.test.ts
@@ -308,6 +308,9 @@ describe("vscode", () => {
308
309
expect(loader.trustedTypesPolicy).not.toBe(undefined)
310
expect(loader.trustedTypesPolicy.name).toBe("amdLoader")
311
+
312
+ const scriptUrl = loader.trustedTypesPolicy.createScriptURL("http://localhost/foo.js")
313
+ expect(scriptUrl).toBe("/foo.js")
314
})
315
316
describe("_createScriptURL", () => {
0 commit comments