Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/base/test/node/testUtils.ts
3296 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 { randomPath } from '../../common/extpath.js';
7
import { join } from '../../common/path.js';
8
import * as testUtils from '../common/testUtils.js';
9
10
export function getRandomTestPath(tmpdir: string, ...segments: string[]): string {
11
return randomPath(join(tmpdir, ...segments));
12
}
13
14
export import flakySuite = testUtils.flakySuite;
15
16