Skip to content

Commit 963ecc4

Browse files
committed
fix test
1 parent 5b8c271 commit 963ecc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/canvas-toolkit.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ test("saveImage and clearOutput manage files correctly", async () => {
9090

9191
const files = readdirSync(join(process.cwd(), outDir));
9292

93-
expect(files).toContain("3. first.png");
94-
expect(files).toContain("4. second.png");
93+
expect(files).toContain("0. first.png");
94+
expect(files).toContain("1. second.png");
9595

9696
toolkit.clearOutput(outDir);
9797
const afterClear = readdirSync(join(process.cwd(), outDir));

0 commit comments

Comments
 (0)