Skip to content

Commit

Permalink
fix: e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mgordel committed Feb 7, 2024
1 parent dd72a7c commit 0c80f2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/blender.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ describe("Blender rendering", function () {
}

for (const file of expectedResults) {
expect(fs.existsSync(`${process.env.GOTH_GFTP_VOLUME || ""}${file}`)).toEqual(true);
expect(fs.existsSync(file)).toEqual(true);
}

await executor.shutdown();
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/tasks.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ describe("Task Executor", function () {
return res?.result;
});
expect(result).toEqual("Ok");
expect(readFileSync(`${process.env.GOTH_GFTP_VOLUME || ""}new_test.json`, "utf-8")).toEqual('{"test":"1234"}');
expect(readFileSync(`new_test.json`, "utf-8")).toEqual('{"test":"1234"}');
});

it("should run transfer file via http", async () => {
Expand Down

0 comments on commit 0c80f2d

Please sign in to comment.