Merge branch 'main' into tyriar/120077

This commit is contained in:
Daniel Imms
2021-12-16 11:34:16 -08:00
committed by GitHub
136 changed files with 1094 additions and 691 deletions

View File

@@ -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);