Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/test/smoke/src/areas/workbench/launch.test.ts
3520 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { join } from 'path';
7
import { Application, Logger } from '../../../../automation';
8
import { installAllHandlers } from '../../utils';
9
10
export function setup(logger: Logger) {
11
describe('Launch', () => {
12
13
// Shared before/after handling
14
installAllHandlers(logger, opts => {
15
if (opts.userDataDir) {
16
return { ...opts, userDataDir: join(opts.userDataDir, 'ø') };
17
}
18
return opts;
19
});
20
21
it('verifies that application launches when user data directory has non-ascii characters', async function () {
22
const app = this.app as Application;
23
await app.workbench.explorer.openExplorerView();
24
});
25
});
26
}
27
28