Skip to content

Commit

Permalink
FUSETOOLS2-2065: Provide tests for completion inside tasks.json
Browse files Browse the repository at this point in the history
  • Loading branch information
pospisilf committed Nov 7, 2023
1 parent 32512ce commit 3c17c2c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ui-test/tests/tasks.json.autocompletion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down
2 changes: 1 addition & 1 deletion src/ui-test/variables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit 3c17c2c

Please sign in to comment.