Skip to content

Commit

Permalink
chore: adjust snapshots dir
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoiver committed Nov 21, 2023
1 parent a898d69 commit eb9b2ba
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 3d/__tests__/e2e/snapshot.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe("Charts", () => {
// Chart already rendered, capture into buffer.
const buffer = await page.locator("canvas").screenshot();

const dir = `${__dirname}/snapshots/static`;
const dir = `${__dirname}/snapshots`;
try {
const maxError = 0;
await expect(buffer).toMatchCanvasSnapshot(dir, key, { maxError });
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes

0 comments on commit eb9b2ba

Please sign in to comment.