From 9c93c8157b0b9febaeb7c00a04124146475ce353 Mon Sep 17 00:00:00 2001 From: Phil Bates Date: Wed, 17 Jan 2024 08:28:48 +0000 Subject: [PATCH] Tests: Disable Vite in tests So that we don't have to have the dev server running, or have built assets previously, before running tests. --- tests/TestCase.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/TestCase.php b/tests/TestCase.php index 5341116..c4e896d 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -9,4 +9,11 @@ abstract class TestCase extends BaseTestCase { use CreatesApplication; + + protected function setUp(): void + { + parent::setUp(); + + $this->withoutVite(); + } }