mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
feat: adds pest function
This commit is contained in:
9
tests/Unit/Configuration/In.php
Normal file
9
tests/Unit/Configuration/In.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
use Pest\PendingCalls\UsesCall;
|
||||
|
||||
it('proxies to uses call', function () {
|
||||
$in = pest()->in();
|
||||
|
||||
expect($in)->toBeInstanceOf(UsesCall::class);
|
||||
});
|
||||
7
tests/Unit/Configuration/Theme.php
Normal file
7
tests/Unit/Configuration/Theme.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
it('creates a theme instance', function () {
|
||||
$theme = pest()->theme();
|
||||
|
||||
expect($theme)->toBeInstanceOf(Pest\Configuration\Theme::class);
|
||||
});
|
||||
Reference in New Issue
Block a user