in('Feature', 'Unit'); /* |-------------------------------------------------------------------------- | Database Refresh |-------------------------------------------------------------------------- | | Apply RefreshDatabase to Feature tests that need a clean database state. | Unit tests typically don't require database access. | */ uses(RefreshDatabase::class)->in('Feature'); /* |-------------------------------------------------------------------------- | Expectations |-------------------------------------------------------------------------- | | You may extend Pest's expectations with custom methods here. These | custom expectations can be used in any test throughout your application. | | For example: | expect()->extend('toBeUkEnglish', function () { | return $this->not->toContain('color') | ->not->toContain('organization'); | }); | */ /* |-------------------------------------------------------------------------- | Functions |-------------------------------------------------------------------------- | | You may define custom helper functions for your tests here. These | functions will be available in all your test files. | | For example: | function createWorkspace(array $attributes = []): Workspace { | return Workspace::factory()->create($attributes); | } | */