Skip to content

Commit 950a3ff

Browse files
committed
Onboard vscode-api-tests to use shared tsconfig
1 parent 402106a commit 950a3ff

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -349,13 +349,15 @@ suite('workspace-namespace', () => {
349349
if (uri.authority === 'foo') {
350350
return '1';
351351
}
352+
return undefined;
352353
}
353354
});
354355
let registration2 = vscode.workspace.registerTextDocumentContentProvider('foo', {
355356
provideTextDocumentContent(uri) {
356357
if (uri.authority === 'bar') {
357358
return '2';
358359
}
360+
return undefined;
359361
}
360362
});
361363

extensions/vscode-api-tests/tsconfig.json

+2-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
{
2+
"extends": "../shared.tsconfig.json",
23
"compilerOptions": {
3-
"module": "commonjs",
4-
"target": "ES5",
5-
"outDir": "out",
6-
"lib": [
7-
"es2015"
8-
],
9-
"sourceMap": true,
10-
"strict": true,
11-
"noUnusedLocals": true,
12-
"noUnusedParameters": true
4+
"outDir": "./out"
135
},
146
"include": [
157
"src/**/*"

0 commit comments

Comments
 (0)