mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 16:18:58 +01:00
Merge branch 'main' into tyriar/120077
This commit is contained in:
@@ -5,11 +5,12 @@
|
||||
|
||||
import * as assert from 'assert';
|
||||
import { EOL } from 'os';
|
||||
import * as crypto from 'crypto';
|
||||
import * as vscode from 'vscode';
|
||||
import { TestFS } from './memfs';
|
||||
|
||||
export function rndName() {
|
||||
return Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 10);
|
||||
return crypto.randomBytes(8).toString('hex');
|
||||
}
|
||||
|
||||
export const testFs = new TestFS('fake-fs', true);
|
||||
|
||||
Reference in New Issue
Block a user