mirror of
https://github.com/pestphp/pest.git
synced 2026-07-22 01:20:03 +02:00
feat: adds pest function
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
use Pest\PendingCalls\UsesCall;
|
||||
|
||||
it('proxies to uses call', function () {
|
||||
$in = pest()->in();
|
||||
|
||||
expect($in)->toBeInstanceOf(UsesCall::class);
|
||||
});
|
||||
@@ -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