diff --git a/tests/Browser/.gitkeep b/tests/Browser/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/tests/Feature/.gitkeep b/tests/Feature/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/tests/Pest.php b/tests/Pest.php new file mode 100644 index 000000000..749d93f59 --- /dev/null +++ b/tests/Pest.php @@ -0,0 +1,45 @@ +extend(Tests\TestCase::class)->in('Feature'); + +/* +|-------------------------------------------------------------------------- +| Expectations +|-------------------------------------------------------------------------- +| +| When you're writing tests, you often need to check that values meet certain conditions. The +| "expect()" function gives you access to a set of "expectations" methods that you can use +| to assert different things. Of course, you may extend the Expectation API at any time. +| +*/ + +expect()->extend('toBeOne', fn () => $this->toBe(1)); + +/* +|-------------------------------------------------------------------------- +| Functions +|-------------------------------------------------------------------------- +| +| While Pest is very powerful out-of-the-box, you may have some testing code specific to your +| project that you don't want to repeat in every file. Here you can also expose helpers as +| global functions to help you to reduce the number of lines of code in your test files. +| +*/ + +function something(): void +{ + // .. +} diff --git a/tests/Unit/.gitkeep b/tests/Unit/.gitkeep new file mode 100644 index 000000000..e69de29bb