Skip to content

Commit

Permalink
Merge pull request #1333 from remotion-dev/testcase-dynamic-root
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBurger committed Sep 22, 2022
2 parents f06da47 + f98d863 commit 9bdd434
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/example/src/test/stills.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ test('Can render a still using Node.JS APIs', async () => {
});

const serveUrl = `http://localhost:${port}`;
const fileOSRoot = path.parse(__dirname).root;

expect(() =>
renderStill({
Expand All @@ -52,7 +53,7 @@ test('Can render a still using Node.JS APIs', async () => {
expect(() =>
renderStill({
composition,
output: process.platform === 'win32' ? 'D:\\' : '/var',
output: process.platform === 'win32' ? fileOSRoot : '/var',
serveUrl,
})
).rejects.toThrow(/already exists, but is not a file/);
Expand Down

1 comment on commit 9bdd434

@vercel
Copy link

@vercel vercel bot commented on 9bdd434 Sep 22, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.