From b247471d98760f0c4eb97ab98579f9db857d762b Mon Sep 17 00:00:00 2001 From: Sam Light Date: Wed, 10 Jun 2026 19:00:32 +0100 Subject: setup tests --- tests/Pest.php | 1 + tests/Unit/RouteTest.php | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/Pest.php create mode 100644 tests/Unit/RouteTest.php (limited to 'tests') diff --git a/tests/Pest.php b/tests/Pest.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/tests/Pest.php @@ -0,0 +1 @@ +expect(fn () => new Route( + new PathSegment(SpecialSegment::Root), + HttpMethod::Get, + fn () => null + )) + ->toBeInstance(Route::class); -- cgit v1.2.3