• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NeoIsRecursive / inertia-tempest / 13986084906

21 Mar 2025 06:35AM UTC coverage: 96.61% (+1.3%) from 95.27%
13986084906

Pull #2

github

web-flow
Merge ab00ae0a5 into bf5c3f470
Pull Request #2: Add defer props support

92 of 93 new or added lines in 1 file covered. (98.92%)

2 existing lines in 2 files now uncovered.

171 of 177 relevant lines covered (96.61%)

11.34 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/src/ManifestVersionResolver.php
1
<?php
2

3
namespace NeoIsRecursive\Inertia;
4

5
use NeoIsRecursive\Inertia\Contracts\InertiaVersionResolver;
6

7
use function Tempest\root_path;
8

9
final readonly class ManifestVersionResolver implements InertiaVersionResolver
10
{
11
    public function __construct(public ?string $manifestPath = null) {}
12

13
    public function resolve(): string
14
    {
15
        $manifestPath = $this->manifestPath ?? root_path('/public/build/manifest.json');
2✔
16

17
        if (file_exists($manifestPath)) {
2✔
UNCOV
18
            return hash_file('xxh128', $manifestPath);
×
19
        }
20

21
        return "";
2✔
22
    }
23
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc