mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-02 00:09:30 +01:00
Move test files to src/vs/sessions/test/e2e/
Keeps all E2E test code (mocks, runners, scenarios, extensions) in one place, separate from production Sessions code. Updates import paths, server path, and ESLint config. Note: ESLint import-patterns warnings remain because the relative imports from test/e2e/ depth don't match the restriction glob syntax. This is cosmetic — the imports are valid TypeScript. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -137,7 +137,7 @@ ${importMapJson}
|
||||
</head>
|
||||
<body aria-label="">
|
||||
<script type="module">
|
||||
import { create, URI } from '${fileRoot}/vs/sessions/${useMock ? 'sessions.web.test.internal' : 'sessions.web.main.internal'}.js';
|
||||
import { create, URI } from '${fileRoot}/vs/sessions/${useMock ? 'test/e2e/sessions.web.test.internal' : 'sessions.web.main.internal'}.js';
|
||||
create(document.body, {
|
||||
productConfiguration: {
|
||||
nameShort: 'Sessions (Web)',
|
||||
@@ -147,8 +147,8 @@ ${importMapJson}
|
||||
${additionalBuiltinExtensions}
|
||||
workspaceProvider: {
|
||||
workspace: ${useMock
|
||||
? `{ folderUri: URI.parse('mock-fs://mock-repo/') }`
|
||||
: 'undefined'},
|
||||
? `{ folderUri: URI.parse('mock-fs://mock-repo/') }`
|
||||
: 'undefined'},
|
||||
open: async () => false,
|
||||
payload: [['isSessionsWindow', 'true']],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user