Skip to content

Commit

Permalink
add archtest for pest
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Aug 25, 2023
1 parent 79f7fd5 commit 0e56353
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ function setupTestingLibrary(string $testingLibrary): void
]);
} elseif ($testingLibrary === 'phpunit') {
unlink(__DIR__.'/tests/ExampleTestPest.php');
unlink(__DIR__.'/tests/ArchTest.php');
unlink(__DIR__.'/tests/Pest.php');
unlink(__DIR__.'/.github/workflows/run-tests-pest.yml');

Expand Down
5 changes: 5 additions & 0 deletions tests/ArchTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

it('will not use debugging functions')
->expect(['dd', 'dump', 'ray'])
->not->toBeUsed();

0 comments on commit 0e56353

Please sign in to comment.