Update paths to data files to fix tests

This commit is contained in:
Charis Kyriakou
2023-04-27 11:16:24 +00:00
parent 80ac593bec
commit 287a2d1ef2

View File

@@ -82,7 +82,7 @@ describe("Packaging commands", () => {
});
it("should install valid workspace pack", async () => {
const rootDir = join(__dirname, "./data");
const rootDir = join(__dirname, "../data");
quickPickSpy.mockResolvedValue(
mockedQuickPickItem([
{
@@ -99,7 +99,7 @@ describe("Packaging commands", () => {
});
it("should throw an error when installing invalid workspace pack", async () => {
const rootDir = join(__dirname, "../data-invalid-pack");
const rootDir = join(__dirname, "../../data-invalid-pack");
quickPickSpy.mockResolvedValue(
mockedQuickPickItem([
{