Skip to content

Commit

Permalink
Test(web-twig): Use shorter snapshot file name refs #DS-635
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Aug 18, 2023
1 parent 736c4b1 commit 8831ba7
Show file tree
Hide file tree
Showing 93 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/web-twig/tests/AbstractComponentSnapshotTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ protected function getSnapshotSources(): string
return ($filename ? dirname($filename) : '') . DIRECTORY_SEPARATOR . static::FIXTURES_DIR;
}

protected function getSnapshotId(): string
{
return $this->dataName() . '.snap';
}

protected function formatHtml(string $html): string
{
// Specify configuration
Expand Down

0 comments on commit 8831ba7

Please sign in to comment.