Skip to content

Commit 2a85598

Browse files
committed
feat: reorganize imports in Pest.php and clean up unused code
1 parent 1eaeb53 commit 2a85598

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/Pest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
declare(strict_types=1);
44

5+
use Pest\Browser\Playwright\Element;
6+
use Pest\Expectation;
57
use Pest\TestSuite;
68

79
pest()
@@ -28,9 +30,7 @@ function playgroundUrl(string $path = '/'): string
2830
return 'http://localhost:9357/'.mb_ltrim($path, '/');
2931
}
3032

31-
use Pest\Browser\Playwright\Element;
32-
use Pest\Expectation;
33-
33+
// todo: move this to Pest core
3434
expect()->extend('toBeChecked', function (): Expectation {
3535

3636
expect($this->value)->toBeInstanceOf(Element::class)

0 commit comments

Comments
 (0)