tests: clarifies dependencies

This commit is contained in:
Nuno Maduro
2023-03-17 02:06:26 +00:00
parent ae365324a8
commit f07c3a2480
3 changed files with 20 additions and 2 deletions

View File

@ -7,6 +7,23 @@ test('globals')
->not->toBeUsed()
->ignoring(Expectation::class);
test('dependencies')
->expect('Pest')
->toOnlyUse([
'dd',
'dump',
'expect',
'uses',
'Termwind',
'ParaTest',
'Pest\Arch',
'Pest\Plugin',
'NunoMaduro\Collision',
'Whoops',
'Symfony\Component\Console',
'Symfony\Component\Process',
])->ignoring(['Composer', 'PHPUnit', 'SebastianBergmann']);
test('contracts')
->expect('Pest\Contracts')
->toOnlyUse([