Skip to content

Commit

Permalink
try to exclude Vite.php from coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl committed Sep 28, 2022
1 parent 596c473 commit a2c53b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<directory suffix=".php">./src</directory>
<exclude>
<file>./src/routes.php</file>
<file>./src/Vite.php</file>
</exclude>
</whitelist>
</filter>
Expand All @@ -35,4 +36,4 @@
<log type="coverage-clover" target="coverage/phpunit/clover.xml" showUncoveredFiles="true"/>
<log type="coverage-html" target="coverage/phpunit/html" lowUpperBound="35" highLowerBound="70"/>
</logging>
</phpunit>
</phpunit>
2 changes: 1 addition & 1 deletion src/Vite.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Illuminate\Foundation\Vite as BaseVite;

class Vite extends BaseVite
class Vite extends BaseVite // todo move to a different directory in v4
{
/**
* Generate an asset path for the application.
Expand Down

0 comments on commit a2c53b5

Please sign in to comment.