Skip to content

Commit

Permalink
Test that SVG conversion maintain transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbeauvais committed Nov 21, 2024
1 parent 74a1acd commit b94cb95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Conversions/ImageGenerators/SvgTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@
$imageFile = $imageGenerator->convert($media->getPath());

expect(mime_content_type($imageFile))->toEqual('image/png');

expect((new Imagick($imageFile))->getImageAlphaChannel())->toBeTrue();
})->skipWhenRunningLocally();

0 comments on commit b94cb95

Please sign in to comment.