Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jan 2, 2024
1 parent c14cd18 commit 52eb838
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"spatie/image": "^3.3.2",
"spatie/laravel-ray": "^1.33",
"spatie/pdf-to-image": "^2.2",
"spatie/pest-expectations": "^1.5",
"spatie/pest-plugin-snapshots": "^2.1",
"spatie/pixelmatch-php": "^1.0",
"wnx/sidecar-browsershot": "dev-main"
Expand Down
4 changes: 2 additions & 2 deletions tests/PdfTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
'This is the header HTML: Header title',
'Body html',
]);
})->skipOnLinux();
})->skipOnGitHubActions();

it('can render footer html', function () {
Pdf::html('Body html')
Expand All @@ -76,7 +76,7 @@
'This is the footer HTML: Footer title',
'Body html',
]);
})->skipOnLinux();
})->skipOnGitHubActions();

it('can create a pdf using the facade', function () {
Pdf::view('test')->save($this->targetPath);
Expand Down
2 changes: 2 additions & 0 deletions tests/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
})
->in(__DIR__);

registerSpatiePestHelpers();

function getTestSupportPath($suffix = ''): string
{
return __DIR__."/TestSupport/{$suffix}";
Expand Down

0 comments on commit 52eb838

Please sign in to comment.