Skip to content

Commit 7ebea5f

Browse files
committed
Remove "use strict" directives in tests
We set alwaysStrict so this directive is not needed
1 parent cfeeb33 commit 7ebea5f

274 files changed

Lines changed: 0 additions & 547 deletions

File tree

Some content is hidden

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

src/vs/base/parts/ipc/test/node/ipc.cp.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 * as assert from 'assert';
97
import { Client } from 'vs/base/parts/ipc/node/ipc.cp';
108
import { always } from 'vs/base/common/async';

src/vs/base/parts/ipc/test/node/ipc.net.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 * as assert from 'assert';
97
import { Socket } from 'net';
108
import { EventEmitter } from 'events';

src/vs/base/parts/ipc/test/node/ipc.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 * as assert from 'assert';
97
import { IMessagePassingProtocol, IPCServer, ClientConnectionEvent, IPCClient, IChannel } from 'vs/base/parts/ipc/node/ipc';
108
import { Emitter, toNativePromise, Event } from 'vs/base/common/event';

src/vs/base/parts/quickopen/test/browser/quickopen.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 { QuickOpenModel, QuickOpenEntry, QuickOpenEntryGroup } from 'vs/base/parts/quickopen/browser/quickOpenModel';
97
import { DataSource } from 'vs/base/parts/quickopen/browser/quickOpenViewer';

src/vs/base/parts/quickopen/test/common/quickOpenScorer.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 * as assert from 'assert';
97
import * as scorer from 'vs/base/parts/quickopen/common/quickOpenScorer';
108
import { URI } from 'vs/base/common/uri';

src/vs/base/parts/tree/test/browser/treeModel.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 * as assert from 'assert';
97
import * as lifecycle from 'vs/base/common/lifecycle';
108
import * as _ from 'vs/base/parts/tree/browser/tree';

src/vs/base/parts/tree/test/browser/treeViewModel.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 * as assert from 'assert';
97
import { ArrayIterator } from 'vs/base/common/iterator';
108
import { HeightMap, IViewItem } from 'vs/base/parts/tree/browser/treeViewModel';

src/vs/base/test/browser/browser.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 { isWindows, isMacintosh } from 'vs/base/common/platform';
97

src/vs/base/test/browser/comparers.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 { compareFileNames, compareFileExtensions, setFileNameComparer } from 'vs/base/common/comparers';
97
import * as assert from 'assert';
108

src/vs/base/test/browser/highlightedLabel.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 { HighlightedLabel } from 'vs/base/browser/ui/highlightedlabel/highlightedLabel';
97

0 commit comments

Comments
 (0)