diff --git a/src/ui-test/tests/tasks.json.autocompletion.test.ts b/src/ui-test/tests/tasks.json.autocompletion.test.ts index 7a8b611f..f6aa9921 100644 --- a/src/ui-test/tests/tasks.json.autocompletion.test.ts +++ b/src/ui-test/tests/tasks.json.autocompletion.test.ts @@ -17,7 +17,7 @@ import { expect } from "chai"; import { activateEditor, closeEditor, getFileContent, openFileInEditor, selectFromCA } from "../utils"; import { ActivityBar, TextEditor, VSBrowser, WebDriver } from "vscode-uitests-tooling"; -import path = require("path"); +import * as path from "path"; import { RESOURCES_DIR, RESOURCES_TASK_EXAMPLES_DIR, TASKS_TEST_FILE } from "../variables"; describe('Completion inside tasks.json', function () { diff --git a/src/ui-test/variables.ts b/src/ui-test/variables.ts index 8acb8bb4..1e549d76 100644 --- a/src/ui-test/variables.ts +++ b/src/ui-test/variables.ts @@ -4,7 +4,7 @@ export const TEST_RESOURCES_DIR = path.resolve('.', 'test-resources'); export const EXTENSION_DIR = path.join(TEST_RESOURCES_DIR, 'test-extensions'); export const WORKBENCH_DIR = path.join(TEST_RESOURCES_DIR, 'ui-workbench'); export const RESOURCES_DIR = path.resolve('.', 'src', 'ui-test', 'resources'); -export const RESOURCES_TASK_EXAMPLES_DIR: string = path.resolve(RESOURCES_DIR, 'tasks-examples'); +export const RESOURCES_TASK_EXAMPLES_DIR: string = path.join(RESOURCES_DIR, 'tasks-examples'); export const TASKS_TEST_FILE: string = "tasks.json"; diff --git a/tsconfig.json b/tsconfig.json index 7559f269..48c3dae1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,8 +8,7 @@ ], "sourceMap": true, "rootDir": "src", - "skipLibCheck": true, - "strict": false /* enable all strict type-checking options */ + "skipLibCheck": true /* Additional Checks */ // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */