Skip to content

Commit

Permalink
fix(tests): add tsconfig settings correctly [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianKohler committed Feb 4, 2022
1 parent 97a559a commit 2345cb6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/test/suite/configuration.service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ suite("Configuration Service", () => {

await setConfig("absolutePathToWorkspace", true);
await setConfig("extensionOnImport", true);
await setConfig("ignoreTsConfigBaseUrl", false);
await setConfig("mappings", {
lib: "${workspaceFolder}/lib",
});
Expand Down Expand Up @@ -101,8 +102,7 @@ suite("Configuration Service", () => {
});

test("does not use tsconfig if disabled", async () => {
await subscribeToTsConfigChanges();

await setConfig("ignoreTsConfigBaseUrl", false);
const documentOne = await openDocument(
"demo-workspace/project-one/index.js"
);
Expand All @@ -120,6 +120,7 @@ suite("Configuration Service", () => {
await subscribeToTsConfigChanges();

await setConfig("absolutePathToWorkspace", true);
await setConfig("ignoreTsConfigBaseUrl", false);
await setConfig("extensionOnImport", true);
await setConfig("mappings", {
lib: "${workspaceFolder}/lib",
Expand Down

0 comments on commit 2345cb6

Please sign in to comment.