We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d24ed62 commit a991071Copy full SHA for a991071
1 file changed
src/vs/base/test/common/utils.ts
@@ -51,10 +51,10 @@ export class DeferredPromise<T> {
51
52
export function toResource(this: any, path: string) {
53
if (isWindows) {
54
- return URI.file(join('C:\\', Buffer.from(this.test.fullTitle()).toString('base64'), path));
+ return URI.file(join('C:\\', btoa(this.test.fullTitle()), path));
55
}
56
57
- return URI.file(join('/', Buffer.from(this.test.fullTitle()).toString('base64'), path));
+ return URI.file(join('/', btoa(this.test.fullTitle()), path));
58
59
60
export function suiteRepeat(n: number, description: string, callback: (this: any) => void): void {
0 commit comments