Skip to content

Commit

Permalink
fix: snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
NasgulNexus committed Oct 12, 2023
1 parent a5fc240 commit b9b175c
Show file tree
Hide file tree
Showing 112 changed files with 2 additions and 37 deletions.
37 changes: 0 additions & 37 deletions src/components/ArrowToggle/__component__/ArrowToggle.spec.tsx

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
2 changes: 2 additions & 0 deletions test-component/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const config: PlaywrightTestConfig = {
testDir: pathFromRoot('src'),
testMatch: '*/__component__/*.spec.tsx',
updateSnapshots: process.env.UPDATE_REQUEST ? 'all' : 'missing',
snapshotPathTemplate:
'{testDir}/{testFileDir}/{testFileName}-snapshots/{arg}{-projectName}-linux{ext}',
/* The base directory, relative to the config file, for snapshot files created with toMatchSnapshot and toHaveScreenshot. */
/* Maximum time one test can run for. */
timeout: 10 * 1000,
Expand Down

0 comments on commit b9b175c

Please sign in to comment.