Skip to content

Commit 850d486

Browse files
committed
not sure why output missing, but ok
1 parent 4cb6ae5 commit 850d486

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/_setup/eleventy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { readdir, rm } from "node:fs/promises";
1+
import { mkdir, readdir, rm } from "node:fs/promises";
22
import path from "node:path";
33
import Eleventy from "@11ty/eleventy";
44
import { EleventyPluginOpenSCAD } from "../../src";
@@ -24,6 +24,7 @@ export function createTestInstance(options: PluginOptionsInput): Eleventy {
2424
* Delete all test files in output dir
2525
*/
2626
export async function cleanOutputDir() {
27+
mkdir(TEST_SITE_OUTPUT, { recursive: true });
2728
const files = await readdir(TEST_SITE_OUTPUT);
2829
for (const file of files) {
2930
await rm(path.join(TEST_SITE_OUTPUT, file), {

0 commit comments

Comments
 (0)