Skip to content

Commit 4c8e61c

Browse files
committed
Remove "use strict" directives in extension tests
We compile with alwaysStrict so these are not needed
1 parent 7ebea5f commit 4c8e61c

18 files changed

Lines changed: 0 additions & 36 deletions

File tree

extensions/css-language-features/server/src/test/completion.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
5-
'use strict';
6-
75
import 'mocha';
86
import * as assert from 'assert';
97
import * as path from 'path';

extensions/git/src/test/git.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import 'mocha';
97
import { GitStatusParser, parseGitCommit, parseGitmodules, parseLsTree, parseLsFiles } from '../git';
108
import * as assert from 'assert';

extensions/html-language-features/server/src/test/completions.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
5-
'use strict';
6-
75
import 'mocha';
86
import * as assert from 'assert';
97
import * as path from 'path';

extensions/html-language-features/server/src/test/documentContext.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
5-
'use strict';
6-
75
import * as assert from 'assert';
86
import { getDocumentContext } from '../utils/documentContext';
97

extensions/html-language-features/server/src/test/embedded.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
5-
'use strict';
6-
75
import 'mocha';
86
import * as assert from 'assert';
97
import * as embeddedSupport from '../modes/embeddedSupport';

extensions/html-language-features/server/src/test/folding.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import 'mocha';
97
import * as assert from 'assert';
108
import { TextDocument } from 'vscode-languageserver';

extensions/html-language-features/server/src/test/formatting.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
5-
'use strict';
6-
75
import 'mocha';
86
import * as path from 'path';
97
import * as fs from 'fs';

extensions/html-language-features/server/src/test/words.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
5-
'use strict';
6-
75
import * as assert from 'assert';
86
import * as words from '../utils/strings';
97

extensions/search-rg/src/test/searchrg.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import 'mocha';
97
import * as assert from 'assert';
108
import * as vscode from 'vscode';

extensions/vscode-api-tests/src/singlefolder-tests/commands.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import 'mocha';
97
import * as assert from 'assert';
108
import { join } from 'path';

0 commit comments

Comments
 (0)