Skip to content

Commit

Permalink
test: fix broken test after sidebar add
Browse files Browse the repository at this point in the history
  • Loading branch information
smeesseman committed Mar 30, 2019
1 parent fcdaa85 commit d901f65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/npm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as path from "path";
import { commands, Uri, workspace, window, TextDocument } from "vscode";
import * as testUtil from "./testUtil";
import { timeout } from "../util";
import { treeDataProvider } from "../extension";
import { treeDataProvider2 } from "../extension";

suite("NPM tests", () =>
{
Expand Down Expand Up @@ -40,7 +40,7 @@ suite("NPM tests", () =>
await window.showTextDocument(document);


await treeDataProvider.getChildren(); // mock explorer open view which would call this function
await treeDataProvider2.getChildren(); // mock explorer open view which would call this function
await timeout(1000);

fs.unlinkSync(file);
Expand Down

0 comments on commit d901f65

Please sign in to comment.