Skip to content

Commit

Permalink
fixing rmdir issue with rm
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredwray committed Feb 2, 2025
1 parent 32ea50d commit 12d2bae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ecto.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ it('write via ejs', async () => {

expect(fileSource).toBe('<h2>bar</h2>');

await fs.promises.rmdir(testOutputDirectory, {recursive: true});
await fs.promises.rm(testOutputDirectory, {recursive: true});
});

it('write via ejs with long path', async () => {
Expand All @@ -213,7 +213,7 @@ it('write via ejs with long path', async () => {

expect(fileSource).toBe('<h2>bar</h2>');

await fs.promises.rmdir(testOutputDirectory, {recursive: true});
await fs.promises.rm(testOutputDirectory, {recursive: true});
});

it('Render from Template - EJS', async () => {
Expand Down

0 comments on commit 12d2bae

Please sign in to comment.