Skip to content

Commit 82cde12

Browse files
authored
Merge branch 'main' into ddossett/afraid-gazelle
2 parents 5b90592 + 0ed70ae commit 82cde12

File tree

74 files changed

+1137
-555
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1137
-555
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@
3333
**/test/unit/assert.js
3434
**/test/automation/out/**
3535
**/typings/**
36+
!.vscode

.vscode/extensions/vscode-selfhost-test-provider/src/coverageProvider.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
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+
*--------------------------------------------------------------------------------------------*/
45

56
import { IstanbulCoverageContext } from 'istanbul-to-vscode';
67

.vscode/extensions/vscode-selfhost-test-provider/src/debounce.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
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+
*--------------------------------------------------------------------------------------------*/
45

56
/**
67
* Debounces the function call for an interval.

.vscode/extensions/vscode-selfhost-test-provider/src/extension.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
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+
*--------------------------------------------------------------------------------------------*/
45

56
import { randomBytes } from 'crypto';
67
import { tmpdir } from 'os';

.vscode/extensions/vscode-selfhost-test-provider/src/failingDeepStrictEqualAssertFixer.ts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
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+
*--------------------------------------------------------------------------------------------*/
45

56
import * as ts from 'typescript';
67
import {
@@ -98,15 +99,15 @@ const formatJsonValue = (value: unknown) => {
9899
context => (node: ts.Node) => {
99100
const visitor = (node: ts.Node): ts.Node =>
100101
ts.isPropertyAssignment(node) &&
101-
ts.isStringLiteralLike(node.name) &&
102-
identifierLikeRe.test(node.name.text)
102+
ts.isStringLiteralLike(node.name) &&
103+
identifierLikeRe.test(node.name.text)
103104
? ts.factory.createPropertyAssignment(
104-
ts.factory.createIdentifier(node.name.text),
105-
ts.visitNode(node.initializer, visitor) as ts.Expression
106-
)
105+
ts.factory.createIdentifier(node.name.text),
106+
ts.visitNode(node.initializer, visitor) as ts.Expression
107+
)
107108
: ts.isStringLiteralLike(node) && node.text === '[undefined]'
108-
? ts.factory.createIdentifier('undefined')
109-
: ts.visitEachChild(node, visitor, context);
109+
? ts.factory.createIdentifier('undefined')
110+
: ts.visitEachChild(node, visitor, context);
110111

111112
return ts.visitNode(node, visitor);
112113
},
@@ -189,7 +190,7 @@ class StrictEqualAssertion {
189190
return undefined;
190191
}
191192

192-
constructor(private readonly expression: ts.CallExpression) {}
193+
constructor(private readonly expression: ts.CallExpression) { }
193194

194195
/** Gets the expected value */
195196
public get expectedValue(): ts.Expression | undefined {

.vscode/extensions/vscode-selfhost-test-provider/src/memoize.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
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+
*--------------------------------------------------------------------------------------------*/
45

56
export const memoizeLast = <A, T>(fn: (args: A) => T): ((args: A) => T) => {
67
let last: { arg: A; result: T } | undefined;

.vscode/extensions/vscode-selfhost-test-provider/src/metadata.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
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+
*--------------------------------------------------------------------------------------------*/
45
import { TestMessage } from 'vscode';
56

67
export interface TestMessageMetadata {

.vscode/extensions/vscode-selfhost-test-provider/src/snapshot.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
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+
*--------------------------------------------------------------------------------------------*/
45

56
import { promises as fs } from 'fs';
67
import * as vscode from 'vscode';

.vscode/extensions/vscode-selfhost-test-provider/src/sourceUtils.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
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+
*--------------------------------------------------------------------------------------------*/
45

56
import * as ts from 'typescript';
67
import * as vscode from 'vscode';

.vscode/extensions/vscode-selfhost-test-provider/src/testOutputScanner.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
/*---------------------------------------------------------
2-
* Copyright (C) Microsoft Corporation. All rights reserved.
3-
*--------------------------------------------------------*/
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+
*--------------------------------------------------------------------------------------------*/
45

56
import {
67
GREATEST_LOWER_BOUND,

0 commit comments

Comments
 (0)